【正文】
duo_fen int(11) YES NULL pan_timu varchar(255) YES NULL pan_answer varchar(255) YES NULL pan_fen int(11) YES NULL jian_timu varchar(255) YES NULL jian_answer text YES NULL jian_fen int(11) YES NULL flag int(11) YES NULL 表 48 學生考題及分數(shù)存儲表Field Type Null Key Default Extra id int(11) NO PRI NULL auto_increment kecheng_id int(11) YES NULL dan_num int(11) YES NULL duo_num int(11) YES NULL pan_num int(11) YES NULL jian_num int(11) YES NULL 表 49 用戶信息表Field Type Null Key Default Extra id int(11) NO PRI NULL auto_increment name varchar(20) YES NULL password varchar(50) YES NULL question varchar(255) YES NULL answer varchar(255) YES NULL 陜西理工學院畢業(yè)設計第 19 頁 共 42 頁 flag int(11) YES NULL 數(shù)據(jù)表關系圖數(shù)據(jù)關系表主要描述表里每個字段所描述的關系,每個表所對應的字段和字段類型。可以評閱學生主觀性題的試卷。進入個人管理模塊,可更改密碼。 使用方面的可行性:“在線考試系統(tǒng)”是針對企業(yè)內部要對員工考核的需求進行開發(fā)的一個在線系統(tǒng)。當然會操作還得有操作權限,所以在操作之前你必須得是一個用戶,或者是一個管理員,有了密碼和用戶名方可操作本系統(tǒng)。本系統(tǒng)的設計思路簡明明了,所以只要稍懂這方便技術的人一看即懂,日后維護方便。 可行性分析實現(xiàn)系統(tǒng)的主要功能1. 添加試題,添加試卷。學生可根據(jù)自己的情況,選擇科目、試卷進行考試。從實現(xiàn)上講,Servlet 可以響應任何類型的請求,但絕大多數(shù)情況下 Servlet 只用來擴展基于 HTTP 協(xié)議的 Web 服務器。是用 Java 編寫的服務器端程序。通過全面的功能集、與現(xiàn)有系統(tǒng)的互操作性以及對日常任務的自動化管理能力,MySql 為不同規(guī)模的企業(yè)提供了一個完整的數(shù)據(jù)解決方案。 數(shù)據(jù)庫連接JDBC(Java Data Base Connectivity, java 數(shù)據(jù)庫連接)是一種用于執(zhí)行 SQL 語句的 Java API,可以為多種關系數(shù)據(jù)庫提供統(tǒng)一訪問,它由一組用 Java 語言編寫的類和接口組成。這與微軟公司所倡導的注重精英和封閉式的模式完全不同。但在 J2SE 發(fā)布后,Java 的執(zhí)行速度有了大幅提升。在 Java SE 版本中,Java 又引入了泛型編程(Generic Programming) 、類型安全的枚舉、不定長參數(shù)和自動裝/拆箱等語言特性。由于這些智能化家電的市場需求沒有預期的高,Sun 放棄了該項計劃。控制權永遠不會交還給當前JSP 頁。這樣 JSP 代碼就可以在多個 JSP 頁中共享而不用復制。當生成非 HTML 內容或者當前字符集 character set 并非默認字符集時使用。contentType 規(guī)定了生成內容的類型。JSP 與 webServer 的結合關系如圖 21 所示圖 JSP 與 webServer 的結合關系服 務 器 數(shù) 據(jù) 庫多 臺 便 攜 電 腦便 攜 電 腦多 臺 便 攜 電 腦 便 攜 電 腦陜西理工學院畢業(yè)設計第 9 頁 共 42 頁JSP 指令控制 JSP 編譯器如何去生成 servlet,以下是可用的指令:包含指令 include –包含指令通知 JSP 編譯器把另外一個文件完全包含入當前文件中。服務器在頁面被客戶端請求以后對這些 Java 代碼進行處理,然后將生成的 HTML 頁面返回給客戶端的瀏覽器。JSP 技術使用 Java 編程語言編寫類 XML 的 tags 和 scriptlets,來封裝產生動態(tài)網頁的處理邏輯。通常返回給客戶端的就是一個 HTML 文本,因此客戶端只要有瀏覽器就能瀏覽。在傳統(tǒng)的網頁 HTML 文件(*.htm,*.html)中加入 Java 程序片段(Scriptlet)和 JSP 標簽,就構成了 JSP 網頁 java 程序片段可以操縱數(shù)據(jù)庫、重新定向網頁以及發(fā)送 Email 等,實現(xiàn)建立動態(tài)網站所需要的功能。 本文的組織本文主要介紹在線考試系統(tǒng)的分析、設計與實現(xiàn)。清華大學、上海交通大學等高校都組織力量致力于實用考試系統(tǒng)的研究和開發(fā)工作。投入實際使用的例子有,1993 年美國教育考試中心(Eraduade Record examination 簡稱 ETS)考試;從 1994 年開始,美國護理證書考試完全在計算機上進行,等等。但一個真正的智能化的基于 WEB 的考試系統(tǒng)的實現(xiàn)是一個復雜的過程,考試平臺和題庫的研究要依靠軟件開發(fā)專家、被考學科專家和精通考試理論和命題的專家三者的合作。實現(xiàn)無紙化考試,大大提高了工作效率。另外,考試系統(tǒng)的軟件也必將不斷的更新;同時軟件產品本身就要經過一個不斷自我完善的過程。例如通過瀏覽器進行大量的數(shù)據(jù)輸入或進行報表的應答、專用性打印輸出都比較困難和不便。并且,由于該結構的每臺客戶機都需要安裝相應的客戶端程序,分布功能弱且兼容性差,不能實現(xiàn)快速部署安裝和配置,因此缺少通用性,具有較大的局限性。目前,網絡應用軟件運行的模式主要有二類:C/S 模式,B/S 模式。一個完備的在線考試系統(tǒng)可以使用戶在網上學習之后及時檢驗自己的學習效果,以發(fā)現(xiàn)自己的不足,使得學習效率得到很大提高。TOMCAT陜西理工學院畢業(yè)設計第 III 頁 共 42 頁The Design and Implement of The Logistics Management System Based on B/S Model Liu Xu(Grade11,Class02,Information and puting science Major, Mathematics and Computing Science Dept., Shaanxi University of Technology, Hanzhong 723000,Shaanxi)Tutor: ZhaohuiAbstract: With the development of puter technology and the Inter era, it has entered an information age which is also known as the digital age. In this digital work environment, students prefer personalized munication space to meet, to learn according to their own situation, and also needs a scientific evaluation. The teachers want to effectively improve the current test model to increase the examination efficiency. Education institutions want to give students a more prehensive flexible service to more accurately track and evaluate students. Online examination system is developed to meet this demand targeting to an Interbased test model. With this new model, schools can create a new test environment for the successful test management and to improve the effectiveness and examination standard level, so that school administrators, teachers and students can work anytime, anywhere via the Inter test. In this paper, an online examination system is developed based on JSP. The system includes subsystem modules of students, teachers and administrators submodules. The student module features include: student login, student exams, check grades, student messages and personal information management functions. The teacher module features include: teacher registration, adding courses, paper management, exam management, test management, online marking, performance management, message management, announced management and personal information management. The manager module features include: bulletin management, other management systems, professional management, class management, student management, teacher management and password change functionality. The system uses JSP and MySql as the development tools which are more extensible.Key Words: Online Exem System, JAVA, JSP, MySql陜西理工學院畢業(yè)設計第 IV 頁 共 42 頁目 錄1 引言 .....................................................6 研究背景 .................................................6 研究意義 .................................................6 研究現(xiàn)狀 .................................................7 國外研究現(xiàn)狀 ..........................................7 國內研究現(xiàn)狀 ..........................................7 研究的主要內容 ...........................................7 本文的組織 ..