资源简介

四川大学,袁道华,数据库原理,课程设计,eclipse+mysql+tomcat,绝对可用,骗人不得好死。有了这个,实验课必过。

资源截图

代码片段和文件信息

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) {
         

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件      13785  2012-12-25 12:57  library\Database\db_library.sql

     文件        841  2012-12-25 12:57  library\library\.classpath

     文件       1040  2012-12-25 12:57  library\library\.project

     文件        503  2012-12-25 12:57  library\library\.settings\.jsdtscope

     文件        364  2012-12-25 12:57  library\library\.settings\org.eclipse.jdt.core.prefs

     文件        475  2012-12-25 12:57  library\library\.settings\org.eclipse.wst.common.component

     文件        345  2012-12-25 12:57  library\library\.settings\org.eclipse.wst.common.project.facet.core.xml

     文件         49  2012-12-25 12:57  library\library\.settings\org.eclipse.wst.jsdt.ui.superType.container

     文件          6  2012-12-25 12:57  library\library\.settings\org.eclipse.wst.jsdt.ui.superType.name

     文件       6150  2012-12-25 12:57  library\library\build\classes\com\action\Book.class

     文件       4200  2012-12-25 12:57  library\library\build\classes\com\action\BookCase.class

     文件       4412  2012-12-25 12:57  library\library\build\classes\com\action\BookType.class

     文件       6424  2012-12-25 12:57  library\library\build\classes\com\action\Borrow.class

     文件       2887  2012-12-25 12:57  library\library\build\classes\com\action\Library.class

     文件       6418  2012-12-25 12:57  library\library\build\classes\com\action\Manager.class

     文件       2666  2012-12-25 12:57  library\library\build\classes\com\action\Parameter.class

     文件       5611  2012-12-25 12:57  library\library\build\classes\com\action\Reader.class

     文件       4588  2012-12-25 12:57  library\library\build\classes\com\action\ReaderType.class

     文件        788  2012-12-25 12:57  library\library\build\classes\com\actionForm\BookCaseForm.class

     文件       3729  2012-12-25 12:57  library\library\build\classes\com\actionForm\BookForm.class

     文件        999  2012-12-25 12:57  library\library\build\classes\com\actionForm\BookTypeForm.class

     文件       4938  2012-12-25 12:57  library\library\build\classes\com\actionForm\BorrowForm.class

     文件       2128  2012-12-25 12:57  library\library\build\classes\com\actionForm\LibraryForm.class

     文件       2075  2012-12-25 12:57  library\library\build\classes\com\actionForm\ManagerForm.class

     文件        934  2012-12-25 12:57  library\library\build\classes\com\actionForm\ParameterForm.class

     文件        738  2012-12-25 12:57  library\library\build\classes\com\actionForm\PublishingForm.class

     文件       3461  2012-12-25 12:57  library\library\build\classes\com\actionForm\ReaderForm.class

     文件        999  2012-12-25 12:57  library\library\build\classes\com\actionForm\ReaderTypeForm.class

     文件       1934  2012-12-25 12:57  library\library\build\classes\com\CharacterEncodingFilter.class

     文件        130  2012-12-25 12:57  library\library\build\classes\com\connDB.properties

............此处省略153个文件信息

评论

共有 条评论