【正文】
6X4NGpP$vSTTamp。gTXRm 6X4NGpP$vSTTamp。gTXRm 6X4NGpP$vSTTamp。gTXRm 6X4NGpP$vSTTamp。 關(guān)鍵詞: 在線 考試 ;瀏覽器 /服務(wù)器; JSP; MySQL; JDBC; Abstract II Abstract With the development of working technology, online examination and distance education is an aspect in the application of inter. In recent years the online examination especial of Webbased examination is more and more popular. The graduation project’s subject is to design and realization of the online examination system. The system uses the browser/server to develop. It includes login, new user registration, online examination, examination paper set, examination paper management, score statistics ,query results and other functional. The system takes the Windows 7 as the OS, Tomcat as the web Server, uses JSP technology and MySQL as the Database Server development tools to realize the system. In this paper, the requirement analysis about the online examination system is introduced, and then give the system design and implementation .Finally, all of the functions of the system is tested. Keywords: Online Examination; Browse/Server; JSP; MySQL; JDBC; 目錄 III 目錄 摘 要 (中文) ..................................................................................................................... I (英文) .................................................................................................................... II 第一章 系統(tǒng)概述 .................................................................................................................... 1 系統(tǒng)開發(fā)背景 ...................................................................................................................... 1 系統(tǒng)開發(fā)意義 ...................................................................................................................... 1 ....................................................................................................................... 1 第二章 系統(tǒng)分析 .................................................................................................................... 5 現(xiàn)狀 分析 ............................................................................................................................. 5 可行性分析 .......................................................................................................................... 5 設(shè)計(jì)目標(biāo) ............................................................................................................................. 6 功能要求 ............................................................................................................................. 6 系統(tǒng)開發(fā)環(huán)境配置 ............................................................................................................... 7 第三章 系統(tǒng)設(shè)計(jì) .................................................................................................................... 9 .......................................................................................................................... 9 ..................................................................................................................... 11 ..................................................................................................................... 12 第四章 系統(tǒng)實(shí)現(xiàn) .................................................................................................................. 15 數(shù)據(jù)庫(kù)連接的實(shí)現(xiàn)方法 ...................................................................................................... 15 登陸注冊(cè)模塊 .................................................................................................................... 16 ............................................................................................................................ 18 教師模塊 ........................................................................................................................... 23 管理員模塊 ........................................................................................................................ 31 第五章 系統(tǒng)測(cè)試 .................................................................................................................. 33 ................................................................................................................. 33 ....................................................................................................... 33 ............................................................................................................................ 33 .............................................................................................................. 34 結(jié)束語(yǔ) .................................................................................................................................... 35 參考文獻(xiàn) ................................................................................................................................ 36 目錄 IV Java Web 應(yīng)用開發(fā) —— 在線模擬考試系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn) 1 第一章 系統(tǒng)概述 系統(tǒng)開發(fā)背景 隨著 我國(guó) 計(jì)算機(jī)技術(shù)和 通訊技術(shù)的發(fā)展,互聯(lián)網(wǎng)的普及程度已經(jīng)很廣泛了,但是,現(xiàn)在的教育教學(xué)檢驗(yàn)方式,還是停留在過去的紙質(zhì)考試層面在,而 傳統(tǒng)的 教育教學(xué)檢驗(yàn)方式 中 , 要 進(jìn)行一次考試,至少 需要 經(jīng)過教師出題、學(xué)生考試、教師閱卷等幾步, 這是一個(gè)繁雜的過程, 需要大量人力、物力與時(shí)間的投入,同時(shí)也讓 教師的工作量越來(lái)越大 ; 現(xiàn)在遠(yuǎn)程教育類學(xué)校的增多, 雖然 利用 了網(wǎng)絡(luò) 拉近 了 教師與學(xué)生的距離,但學(xué) 生的分布過廣 ,導(dǎo)致了 不易統(tǒng)一集中安排考試 ,考生成本的增加 等諸多難題 的出現(xiàn) ,給校方和學(xué)生帶來(lái)了很 多的不便,因此, 傳統(tǒng)的考試方式已經(jīng)不能適應(yīng)現(xiàn)在 新興的教育教學(xué) 方式的考試 需要了。 系統(tǒng)開發(fā)意義 考試是 教育中一個(gè)非常重要的環(huán)節(jié), 但在以前的很長(zhǎng)時(shí)間里,全球所有的國(guó)家都是以筆試的方式來(lái)檢查焦距教學(xué)成果的,隨著網(wǎng)絡(luò)的發(fā)展,互聯(lián)網(wǎng)已經(jīng)普及的非常廣泛,隨著這些周圍環(huán)境的改變,人們開始去尋找新的方式來(lái)去達(dá)到更客觀,更方便快捷的去達(dá)到考試的目的。網(wǎng)頁(yè)還能通過 tags和 scriptlets訪問存在于服務(wù)端的資源的應(yīng)用邏輯。 1. JSP技術(shù)的強(qiáng)勢(shì) ( 1)一次編寫,到處運(yùn)行。從只有一個(gè)小的 Jar文件就可以運(yùn)行 servlet/JSP,到由多臺(tái)服務(wù)器進(jìn)行集群和負(fù)載均衡,到多臺(tái) Application進(jìn)行事務(wù)處理,消息處理,一臺(tái)服務(wù)器到。 Java servlet 是 JSP的技術(shù)基礎(chǔ),而且大型的 Web應(yīng)用程序的開發(fā)需要 Java servlet和 JSP配合才能完成。 用 JSP開發(fā)的 Web應(yīng)用是跨平臺(tái)的,即能在 Linux下運(yùn)行,也能在其他操作系統(tǒng)上運(yùn)行。我國(guó)許多企業(yè)和高校都投入量大量的人力物力到各門課程的試題庫(kù)中,并取得了 一定的成就。 系統(tǒng) 運(yùn)行 在 Windows 7操作系統(tǒng)上,以 Tomcat作為 Web服務(wù)器 ,使用 JSP技術(shù)和MySQL 數(shù)據(jù)庫(kù) 實(shí)現(xiàn)。M uWFA5uxY7JvnD6YWRrWwc^vR9CpbK!zn%MzFA5uxY7J nD6YWRr Wwc^vR9CpbK! zn%M z849Gx^Gjqv^$UE9wEwZQcUE%amp。M uWFA5ux^Gjqv^$UE9wEwZQcUE%amp。M uWFA5uxY7J nD6YWRrWwc^vR9CpbK! zn%M z849Gx^Gjqv^$