-
大小: 1.56MB文件類型: .zip金幣: 2下載: 0 次發布日期: 2023-09-02
- 語言: Java
- 標簽: Servlet+JSP??
資源簡介
基于Servlet+JSP實現的圖書管理系統,Web課程設計用得上,良心資源

代碼片段和文件信息
import?java.io.BufferedReader;
import?java.io.IOException;
import?java.io.InputStreamReader;
import?java.io.PrintWriter;
import?java.net.Socket;
import?java.net.UnknownHostException;
public?class?Test?{
????public?static?void?main(String[]?args)?throws?IOException?{
????????Socket?echoSocket?=?null;
????????PrintWriter?out?=?null;
????????BufferedReader?in?=?null;
????????try?{
????????????echoSocket?=?new?Socket(“127.0.0.1“?7);
????????????out?=?new?PrintWriter(echoSocket.getOutputStream()?true);
????????????in?=?new?BufferedReader(new?InputStreamReader(echoSocket.getInputStream()));
????????}?catch?(UnknownHostException?e)?{
????????????System.err.println(“Don‘t?know?about?host:?taranis.“);
????????????System.exit(1);
????????}?catch?(IOException?e)?{
????????????System.err.println(“Couldn‘t?get?I/O?for?“?+?“the?connection?to:?taranis.“);
????????????System.exit(1);
????????}
????????BufferedReader?stdIn?=?new?BufferedReader(new?InputStreamReader(System.in));
????????String?userInput;
????????while?((userInput?=?stdIn.readLine())?!=?null)?{
????????????out.println(userInput);
????????????System.out.println(“echo:?“?+?in.readLine());
????????}
????????out.close();
????????in.close();
????????stdIn.close();
????????echoSocket.close();
????}
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2018-12-07?21:23??Databa
?????文件???????13785??2012-06-26?15:38??Databa
?????目錄???????????0??2018-12-07?21:23??library\
?????文件?????????841??2012-06-18?14:10??library\.classpath
?????文件????????1040??2012-06-18?14:10??library\.project
?????目錄???????????0??2018-12-07?21:23??library\.settings\
?????文件?????????503??2012-06-18?14:10??library\.settings\.jsdtscope
?????文件?????????364??2012-06-18?14:10??library\.settings\org.eclipse.jdt.core.prefs
?????文件?????????475??2012-06-18?14:10??library\.settings\org.eclipse.wst.common.component
?????文件?????????345??2012-06-18?14:10??library\.settings\org.eclipse.wst.common.project.facet.core.xm
?????文件??????????49??2012-06-18?14:10??library\.settings\org.eclipse.wst.jsdt.ui.superType.container
?????文件???????????6??2012-06-18?14:10??library\.settings\org.eclipse.wst.jsdt.ui.superType.name
?????目錄???????????0??2018-12-07?21:23??library\WebContent\
?????目錄???????????0??2018-12-07?21:23??library\WebContent\CSS\
?????文件????????2747??2012-06-19?16:10??library\WebContent\CSS\st
?????目錄???????????0??2018-12-07?21:23??library\WebContent\Images\
?????文件????????6768??2012-06-18?14:34??library\WebContent\Images\borrowBackRenew.gif
?????文件????????6761??2012-06-18?14:34??library\WebContent\Images\borrowBackRenew_back.gif
?????文件????????6823??2012-06-18?14:34??library\WebContent\Images\borrowBackRenew_r.gif
?????文件????????7379??2012-06-18?14:34??library\WebContent\Images\borrow_if.gif
?????文件??????????96??2012-06-18?14:34??library\WebContent\Images\copyright_t.gif
?????文件????????4051??2012-06-18?14:34??library\WebContent\Images\error.jpg
?????文件????????1471??2012-06-18?14:34??library\WebContent\Images\error_b.gif
?????文件?????????354??2012-06-18?14:34??library\WebContent\Images\item_out.gif
?????文件?????????354??2012-06-18?14:34??library\WebContent\Images\item_over.gif
?????文件??????303552??2012-06-18?14:34??library\WebContent\Images\login.jpg
?????文件????????8374??2012-06-18?14:34??library\WebContent\Images\main_booksort.gif
?????文件?????????141??2012-06-18?14:34??library\WebContent\Images\main_booksort_1.gif
?????文件?????????701??2012-06-18?14:34??library\WebContent\Images\main_booksort_2.gif
?????文件????????1050??2012-06-18?14:34??library\WebContent\Images\main_readersort_1.gif
?????文件?????????634??2012-06-18?14:34??library\WebContent\Images\more.GIF
............此處省略147個文件信息
- 上一篇:java實現短信驗證登入
- 下一篇:fastjson-1.2.38的jar包
評論
共有 條評論