freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

網(wǎng)絡(luò)投票管理系統(tǒng)畢業(yè)設(shè)計(更新版)

2025-01-24 16:07上一頁面

下一頁面
  

【正文】 )) (更新主題成功! )。 String optType,optType1。 while(()){ % input type=text name=optContent%=i% size=100 value=%=(optContent)% input type=hidden name=id%=i% value=%=(id)% %i++。 ResultSet rs,rs1。如果你要修改某個主題還有選項,只需在文本框中輸入其主題名即可。 (td+(id)+/td)。 if(id!=null){ if((sql)){ (刪除記錄成功。 (sql)。 id=(1)。i++){ % 選項 %=i%: input type=text name=%=i% value= size=50 br%}% input type=submit name=submit1 value=增加主題 %}%/form % String submit1=(submit1),str=,optContent,sql。 try{ num=((num))。 optContent=(optContent)。 sql=select * from vote where flag=+id。 sql=select * from vote where flag=0 and optType=0 order by id desc。 ResultSet rs=(sql)。 else{ type=checkbox。 (str+question+br)。 ResultSet rs=(sql)。 ( 2) 修改 里連接 MySQL數(shù)據(jù)庫的 IP、用戶名和密碼為你自己的 IP,user, password 修改編譯之后放到 WEBINF\classes\目錄下面。 sql=select * from vote order by id desc。 } } 功能的實現(xiàn) 投票流程圖:如圖 5 所示。 } return rs。 Statement stmt = null。 數(shù)據(jù)庫創(chuàng)建后的結(jié)構(gòu)圖如圖 4 所示: 圖 4 數(shù)據(jù)庫結(jié)構(gòu)圖 連接數(shù)據(jù)庫 該系統(tǒng)使用了 MySQL 的 JDBC 驅(qū)動程序來連接數(shù)據(jù)庫 [21]。 開發(fā)流程 軟件工程中幾個經(jīng)典的開發(fā)模型瀑布模型,快速原型模型,增量模型,螺旋模型,形式化方法模型,基于組件的開發(fā)模型 [17]。投票操作具體為:用戶選擇一個或多個選項,確定,提交,即可投票成功,提交此頁面,會跳轉(zhuǎn)鏈接至顯示投票結(jié)果的頁面。 系統(tǒng)主要特色 本網(wǎng)絡(luò)投票管理系統(tǒng)具有的主要特色: ( 1)操作方便。 數(shù)據(jù)由 DBMS 統(tǒng)一管理和控制: 數(shù)據(jù)庫的共享是并發(fā)的( concurrency)共享,即多個用戶可以同時存取數(shù)據(jù)庫中的數(shù)據(jù),甚至可以同時存取數(shù)據(jù)庫中的同一個數(shù)據(jù) [15]。而數(shù)據(jù)庫系統(tǒng)則實現(xiàn)了整體數(shù)據(jù)的結(jié)構(gòu)化,這是數(shù)據(jù)庫的主要特征之一,也是數(shù)據(jù)庫與文件系統(tǒng)的本質(zhì)區(qū)別 [11]。正是由于為了跨平臺的功能,為了極度的伸縮能力,所以極大的增加了產(chǎn)品的復(fù)雜性。 ( 3)強大的可伸縮性。 JSP 編程語言 JSP( Java Server Pages)是由 Sun Microsystems 公司倡導(dǎo)、許多公司參與一起建立的一種動態(tài)網(wǎng)頁技術(shù)標(biāo)準(zhǔn)。 投票設(shè)計:管理員有權(quán)限設(shè)計不一樣的投票主題,還有投票主題的具體 內(nèi)容供參與投票的人來進(jìn)行投票,投票設(shè)計還包括這些功能需求:增加主題、刪除主題、查看主題、修改主題。 ( 2)收益 ( 1)提高工作效率。開發(fā)期需要開發(fā)人員 1 人,試運行期需要開發(fā)人員 1 人。 也正是由于以上原因,網(wǎng)絡(luò)上各式各樣的投票系統(tǒng)層出不窮。 關(guān)鍵詞: JSP;投票;數(shù)據(jù)庫 Inter Voting Management System Abstract: With the development of information technology, Inter voting also need a system with the advanced management mode, as the goal and improving the existing voting management level. With improvement of science and technology, its powerful functions in puter science plays an increasingly important role on various fields of society. In this paper, using JSP programming language and SQL database the Inter voting system is developed to solve the tedious affairs management, as the substitution of no survey paper. The main feature of the system are: high availability. The system has a front display function. The user can vote and view the voting it supports the backstage management, voting and polling options Management (add and delete votetopic) and maintenance function. It has the friendly interface: interface beautiful, friendly, fast, can give timely feedback. Keywords: JSP。其系統(tǒng)的主要特點有:高度可用性,該系統(tǒng)擁有前臺展示的功能,系統(tǒng)前臺用戶可以進(jìn)行投票和查看投票結(jié)果,支持后臺管理,投票項目及投票選項 的管理(增加和刪除投票主題)及維護(hù)功能;實現(xiàn)界面友好性:交互界面美觀、友好、快捷,能給出及時的反饋。能夠有效得到用戶反饋的信息,并及時對網(wǎng)站內(nèi)容進(jìn)行改進(jìn),這也是一個網(wǎng)站持續(xù)發(fā)展的基礎(chǔ)。 經(jīng)濟(jì)可行性 ( 1)支出 ① 系統(tǒng)開發(fā)費用 1)人員費用:本系統(tǒng)開發(fā)期為三周,試運行一周。 3)消耗材料費:每年按 600 元計算。 查看投票:提供參與投票的人查看目前投票的情況,投票的結(jié)果是以條形圖來顯示的。對于一般的個人使用者和中小型企業(yè)來說, MySQL提供的功能已經(jīng)綽綽有余,而且由于 MySQL是開放源碼軟件,因此可以大大降低總體擁有成本 [7]。相比 ASP 的局限性 JSP 的優(yōu)勢是顯而易見的。 其缺點有: ( 1)與 ASP 也一樣, Java 的一些優(yōu)勢正是它致命的問題所在。 數(shù)據(jù)庫系統(tǒng) 與人工管理和文件系統(tǒng)相比,數(shù)據(jù)庫系統(tǒng)的特點主要有以下幾個方面: 數(shù)據(jù)結(jié)構(gòu)化: 在文件系統(tǒng)中,盡管其記錄內(nèi)部已有了某些結(jié)構(gòu),但記錄之間沒有聯(lián)系。 邏輯獨立 性是指用戶的應(yīng)用程序與數(shù)據(jù)庫的邏輯結(jié)構(gòu)是相互獨立的,也就是說,數(shù)據(jù)的邏輯結(jié)構(gòu)改變了,用戶程序也可以不改變。 本系統(tǒng)將是用圖形化的界 面來顯示投票的結(jié)果,清晰明了的反饋參與投票的需求信息。在投票首頁上,將會顯示最近一個投票主題,用戶可自由選擇那些尚未過期的主題進(jìn)行投票。 性能需求 硬件環(huán)境:普通電腦硬盤 200MB 以上即可; 軟件環(huán)境: Windows XP 系統(tǒng); 專門配置要求:需安裝 Tomcat 服務(wù)器; 其他要求:無。 //創(chuàng)建數(shù)據(jù)庫 db2021 第 10 頁 創(chuàng)建表 創(chuàng)建數(shù)據(jù)庫中用到的投票表: CREATE TABLE vote ( id INT NOT NULL AUTO_INCREMENT, //序號 flag int, //標(biāo)識 optType int, //選項類型 question CHAR(255), //投票主題 optContent CHAR(255), //投票選項內(nèi)容 number INT, //得票數(shù) PRIMARY KEY(id), )。 //連接數(shù)據(jù)庫 String sConnStr = jdbc: Connection conn = null。 } catch (SQLException ex) { (: + ())。 ()。 (sql)。 ( 1)把 vote、 WEBINF( vote 文件夾存放的是 .jsp 文件, WEBINF 存放的是該系統(tǒng)使用到的一些 .class 文件)文件夾上傳到你的主機目錄。charset=gb2312% %page import=.*% jsp:useBean id=dbBean class= scope=page / htmlhead title網(wǎng)絡(luò) 投票 管理系統(tǒng) /title link href= rel=stylesheet type=text/css /headbodycenter h3單選投票 /h3 hr form action= method=post div align=left % String sql=select * from vote where flag = 0 and optType=0 order by id desc。 id=(id)。 if(optType==0) type=radio。charset=gb2312% %page import=.*% htmlhead 第 17 頁 title投票結(jié)果 /title link href= rel=stylesheet type=text/css/head body jsp:useBean id=dbBean class= scope=page / h3 align=center單選投票結(jié)果 /h3hr %String sql=select * from vote order by id 。 String question,str,optContent。 (str+question+br)。 //輸出各選項的得票數(shù) 第 18 頁 while(()){ id1=(id)。 int num=0,optType=0。i=num。 第 20 頁 ResultSet rs=(sql)。,0)。 String sql=delete from vote where id=+id 。 % table border=1 align=center tr 第 22 頁 td序號 /td td標(biāo)識 /td tddiv align=center投票主題 /div/td tddiv align=center投票選項 /div/td tddiv align=center得 票 數(shù) /div/td /tr % while(()){ (tr)。%/div/hr/center/body/html ( 8)如果在投票設(shè)計中點擊“修改主題“鏈接,即可打開修改 主題頁面。 if(submit!=null){ String sql_s=(sql)。 rs1=(sql)。 int flag=((id))。,optType= +optType1+ where id=+flag。 optContent=(optContent1)。 何富貴 老師以其嚴(yán)謹(jǐn)求實的治學(xué)態(tài)度、高度的敬業(yè)精神、兢兢業(yè)業(yè)、孜孜以求的工作作風(fēng)和大膽創(chuàng)新的進(jìn)取精神對我產(chǎn)生重
點擊復(fù)制文檔內(nèi)容
公司管理相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1