




版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進(jìn)行舉報或認(rèn)領(lǐng)
文檔簡介
1、蘇州經(jīng)貿(mào)職業(yè)技術(shù)學(xué)院基于JSP的網(wǎng)站新聞管理系統(tǒng)系別專業(yè)班級姓名學(xué)號指導(dǎo)教師26目 錄摘 要II前 言III第一章 系統(tǒng)分析11.1 需求分析11.2 可行性分析1第二章 總體設(shè)計22.1 項目規(guī)劃22.2 系統(tǒng)功能結(jié)構(gòu)圖2第三章 系統(tǒng)設(shè)計43.1 設(shè)計目標(biāo)43.2 開發(fā)及運行環(huán)境43.3 邏輯結(jié)構(gòu)設(shè)計4第四章 網(wǎng)站總體架構(gòu)54.1 網(wǎng)站首頁的運行結(jié)果5第五章 網(wǎng)站后臺主要功能模塊設(shè)計85.1 后臺登陸模塊設(shè)計85.2 會員回復(fù)模塊設(shè)計95.3 會員修改個人信息模塊設(shè)計115.4 會員刪除新聞145.5 總結(jié)15第六章 網(wǎng)站前臺主要功能模塊設(shè)計166.1 今日新聞的顯示166.2 查看新聞具體
2、內(nèi)容模塊的設(shè)計176.3 輸入新聞的關(guān)鍵字查找新聞186.4 游客留言模塊的設(shè)計20小 結(jié)22致 謝23附錄A 參考文獻(xiàn)24附錄B 數(shù)據(jù)表25 摘 要伴隨著網(wǎng)絡(luò)的出現(xiàn),網(wǎng)頁逐漸融入人們的生活??焖偌皶r的新聞瀏覽,五彩繽紛的網(wǎng)上信息,使網(wǎng)絡(luò)與人們的生活息息相關(guān),于是世界上又出現(xiàn)了第三媒體Internet。它打破了地域限制,真正使信息得以共享,改變了人們的工作和生活方式。而網(wǎng)頁具有信息量大,傳遞快速,沒有時空限制等特點。在這個網(wǎng)絡(luò)時代,人們了解的新聞不僅僅是來源于電視、報紙等,還來源于網(wǎng)絡(luò)。所以新聞發(fā)布系
3、統(tǒng)也就成為大家所認(rèn)可的在網(wǎng)絡(luò)瀏覽新聞的最佳途徑。本系統(tǒng)實現(xiàn)了對新聞的添加、修改、刪除、審核,以及對用戶的管理等功能,在前臺新聞瀏覽模塊當(dāng)中,可以用戶注冊,發(fā)表新聞評論,搜索新聞等功能,完成了一個新聞發(fā)布系統(tǒng)的所有基本功能。 關(guān)鍵詞:JSP,新聞發(fā)布,AccessAbstractWith the appearance of the network, webpage had incorporated the life of people gradually. It make the network closely linked with people's life that fa
4、st prompt news browse through, colorful online information.Then the third media has appeared in the world again - -Internet. It has broken the region to limit, really make information share , has changed people's work and life style. The homepage has the characteristics of the big information co
5、ntent, the fast transmission , having no limit of the space and time, and so on.In this cybertimes, the news that people understood is not only stemming from TV , newspaper ,etc., but else steming from the network. So news release system become everybody to be approved to browse through best route o
6、f news in network just.This system has been realized adding , modification , deleting , verifying to news, and management in user function, news have a look around module in front desk, the all right registration of users, publish news analysis , search for functions such as the news ,etc., have fin
7、ished all basic functions of a news release system. Keyword: The JSP, press conference, the Access 前 言Internet的蓬勃發(fā)展,使新聞的傳播方式發(fā)生了巨大的變化,傳統(tǒng)的信息傳播媒體電視、廣播、報紙已經(jīng)不再是人們茶余飯后的主要精神甜點,人們更多的開始關(guān)注網(wǎng)絡(luò)新聞。由于互聯(lián)網(wǎng)所容納的信息量大、內(nèi)容豐富、信息及時、準(zhǔn)確,更有相關(guān)信息的全面的介紹與比較,大大地方便了人們的閱讀,因此在短短幾年的時間里,互聯(lián)網(wǎng)便濟(jì)身于眾多媒體之間,并具有相當(dāng)一部分媒體人群。借此東風(fēng),新聞網(wǎng)也迅速發(fā)展
8、起來,它內(nèi)容豐富,涉及到商業(yè)、工業(yè)、農(nóng)業(yè)、銀行、財政、教育、娛樂、信息等各個產(chǎn)業(yè),信息量大,不僅有實事新聞,還有相關(guān)的行業(yè)信息,同時新聞網(wǎng)具有互聯(lián)網(wǎng)所具備的一切特性。在全球網(wǎng)絡(luò)化、信息化的今天,新聞網(wǎng)迅速發(fā)展,大大地豐富了人們的生活,不知不覺中,它已經(jīng)成為人們生活中不可或缺的重要組成部分。第一章 系統(tǒng)分析1.1 需求分析通過相關(guān)調(diào)查,要求網(wǎng)站具有以下功能;提供新聞搜索功能。發(fā)布新聞的功能。留言的功能?;貜?fù)的功能。為后臺管理提供管理入口。1.2 可行性分析網(wǎng)站新聞管理系統(tǒng)后臺對新聞作了詳細(xì)的分類,前臺以分類形式顯示新聞的詳細(xì)信息,滿足了人們?yōu)g覽新聞網(wǎng)時分類查看新聞信息的要求,同時提供新聞信息查詢
9、功能,方便瀏覽者查找相關(guān)的新聞信息。新聞網(wǎng)后臺則通過對會員設(shè)置和管理員添加等模塊對網(wǎng)站管理員進(jìn)行管理,保證了網(wǎng)站的安全性。第二章 總體設(shè)計2.1 項目規(guī)劃新聞網(wǎng)是一個功能完善的新聞類網(wǎng)站,由客戶前臺新聞瀏覽和后臺新聞管理兩大部分組成。前臺功能模塊前臺主要包括新聞分類、顯示新聞詳細(xì)信息、新聞信息查詢、發(fā)布新聞、留言、回復(fù)、會員注冊、會員登錄、提供后臺登錄口。后臺管理模塊后臺主要包括新聞類型管理、會員的管理。2.2 系統(tǒng)功能結(jié)構(gòu)圖新聞網(wǎng)前臺功能結(jié)構(gòu)新聞分類新聞詳細(xì)信息新聞信息查詢留言發(fā)布新聞后臺登錄口新聞發(fā)布系統(tǒng)前臺功能結(jié)構(gòu),如圖2-1所示。圖2-1 新聞網(wǎng)前臺功能結(jié)構(gòu)圖新聞網(wǎng)后臺功能結(jié)構(gòu),如圖2
10、-2所示。新聞網(wǎng)后臺功能結(jié)構(gòu)會員管理員發(fā)布新聞修改個人信息修改新聞刪除新聞查看留言并回復(fù)添加類別查看類別修改類別查看用戶圖2-2 新聞網(wǎng)后臺功能結(jié)構(gòu)圖第三章 系統(tǒng)設(shè)計3.1 設(shè)計目標(biāo)本網(wǎng)站是根據(jù)各行業(yè)新聞信息分類進(jìn)行開發(fā)設(shè)計的,主要實現(xiàn)如下目標(biāo):顯示新聞的詳細(xì)信息。設(shè)置新聞搜索功能模塊。會員發(fā)布新聞、查看留言并進(jìn)行回復(fù)。游客留言。3.2 開發(fā)及運行環(huán)境硬件平臺:CPU:;內(nèi)存:256MB以上。軟件平臺:操作系統(tǒng):Windows 2000;開發(fā)工具包:;Web服務(wù)器:Tomcat;瀏覽器:,推薦使用;分辨率:最佳效果1024*768像素。3.3 邏輯結(jié)構(gòu)設(shè)計本系統(tǒng)數(shù)據(jù)庫采用access數(shù)據(jù)庫,系
11、統(tǒng)數(shù)據(jù)庫名稱為db1。數(shù)據(jù)庫db1s中包含6張表。關(guān)于數(shù)據(jù)庫中的數(shù)據(jù)表請參見附錄B第四章 網(wǎng)站總體架構(gòu)4.1 網(wǎng)站首頁的運行結(jié)果網(wǎng)站前臺首頁的運行結(jié)果如圖4-1所示。321圖4-1 網(wǎng)站前臺首頁運行結(jié)果網(wǎng)站框架圖說明如如表4-1所示: 表4-1 網(wǎng)站前臺首頁頁面說明區(qū)域名稱說明對應(yīng)文件1內(nèi)容顯示主要用于顯示所有的新聞2搜索新聞主要用于快速查找新聞3功能模塊主要用于顯示導(dǎo)航模塊中的功能網(wǎng)站后臺會員首頁的運行結(jié)果如圖4-2所示。21圖4-2 會員后臺首頁運行結(jié)果會員后臺首頁中的各部分說明如表4-2所示。表4-2 會員臺首頁頁面說明區(qū)域名稱說明對應(yīng)文件1網(wǎng)站導(dǎo)航主要鏈接各個功能模塊2內(nèi)容顯示主要用于
12、顯示功能模塊中的內(nèi)容rz.jsp網(wǎng)站后臺管理員首頁的運行結(jié)果如圖4-3所示。12圖4-3 管理員后臺首頁運行結(jié)果管理員后臺首頁中的各部分說明如表4-3所示。表4-3管理員后臺首頁頁面說明區(qū)域名稱說明對應(yīng)文件1網(wǎng)站導(dǎo)航主要鏈接各個功能模塊2內(nèi)容顯示主要用于顯示功能模塊中的內(nèi)容you.jsp第五章 網(wǎng)站后臺主要功能模塊設(shè)計5.1 后臺登陸模塊設(shè)計在新聞發(fā)布系統(tǒng)中,后臺分為兩種:一個是普通管理員,即會員。他可以發(fā)布新聞、修改新聞、刪除新聞、查看留言、回復(fù)、修改個人信息;另一個是總管理員,他可以對新聞的類別進(jìn)行修改、添加、查看、對會員進(jìn)行查看??偣芾韱T和普通管理員都能通過前臺登錄頁面登錄后臺。在前臺單
13、擊“管理員登陸”超鏈接,即可進(jìn)入到后臺登錄頁面,如圖5-1所示。圖5-1 會員登錄頁面 .5.1.1.后臺的驗證<body><%! public String transch(String str) try byte lb=str.getBytes("iso-8859-1"); str=new String(lb,"utf-8"); return str; catch(Exception e)return str; %><% String user=transch(request.getParameter("use
14、r"); session.setAttribute("user",user); String pwd=transch(request.getParameter("pwd"); Connection con; Statement sql; ResultSet rs; tryClass.forName("sun.jdbc.odbc.JdbcOdbcDriver"); catch(ClassNotFoundException e) try con=DriverManager.getConnection("jdbc:odb
15、c:wzxw","",""); sql=con.createStatement(); rs=sql.executeQuery("SELECT * FROM user where user='"+user+"' and password='"+pwd+"'"); if(rs.next()%><jsp:forward page="yonghupage.jsp"/><%else %><jsp:forwar
16、d page="yhdel.jsp" /><%con.close();catch(SQLException el)%></body>5.2 會員回復(fù)模塊設(shè)計會員登陸成功后,可以查看自己發(fā)布的新聞的留言,并對留言進(jìn)行回復(fù)。運行結(jié)果如圖5-2所示:圖5-2 留言顯示頁面5.2.1.查看留言頁面的顯示通過傳遞新聞的編號查看留言,具體代碼如下:<body background="4.JPG"><%! public String transch(String str) try byte lb=str.getBytes
17、("iso-8859-1"); str=new String(lb,"utf-8"); return str; catch(Exception e)return str; %> <% String isbn=transch(request.getParameter("isbn"); Connection con; Statement sql; ResultSet rs; ResultSet rs1; tryClass.forName("sun.jdbc.odbc.JdbcOdbcDriver"); ca
18、tch(ClassNotFoundException e) ection("jdbc:odbc:wzxw","",""); sql=con.createStatement(); rs=sql.executeQuery("SELECT * FROM liuyan where isbn='"+isbn+"'"); while(rs.next()%><form name="form1" method="post" action=&qu
19、ot;huifusave.jsp"> <p>新聞編號: <input name="isbn" type="text" id="isbn" value="<%=rs.getString("isbn")%>"/> </p> <p>新聞題目: <input name="timu" type="text" id="timu"value="<%=rs
20、.getString("timu")%>"/></p> <p>留言: <textarea name="liuyan" id="liuyan"><%=rs.getString("liuyan")%></textarea></p> <p>回復(fù): <textarea name="huifu" id="huifu"></textarea></p>
21、;<% con.close();catch(SQLException e) out.print(e);%> <p> <input type="submit" name="Submit" value="提交"> </p>5.2.2.后臺數(shù)據(jù)插入后臺插入數(shù)據(jù)庫的代碼如下:<body><%! public String transch(String str) try byte lb=str.getBytes("iso-8859-1"); str=new S
22、tring(lb,"gb2312"); return str; catch(Exception e)return str; %><% String huifu=transch(request.getParameter("huifu"); String isbn=transch(request.getParameter("isbn"); String timu=transch(request.getParameter("timu"); String liuyan=transch(request.getPa
23、rameter("liuyan"); Connection con=null; Statement sql=null; ResultSet rs=null; tryClass.forName("sun.jdbc.odbc.JdbcOdbcDriver"); catch(ClassNotFoundException event) try con=DriverManager.getConnection("jdbc:odbc:wzxw","",""); sql=con.createStatement(
24、); String condition="INSERT INTO huifu VALUES('"+isbn+"','"+timu+"','"+liuyan+"','"+huifu+"')" int i=sql.executeUpdate(condition); if(i>0) %> <jsp:forward page="lly.jsp"/> <%else%> <jsp:f
25、orward page="huifu.jsp"/> <% con.close(); catch(SQLException event) %></body>5.3 會員修改個人信息模塊設(shè)計會員登錄成功后,可對個人的信息進(jìn)行修改。運行結(jié)果如圖5-3所示:圖5-3 查看個人信息頁面5.3.1.會員信息頁面的顯示查看個人信息的代碼如下:<body background="4.JPG"><% Object obj = session.getAttribute("user"); String use
26、r = obj.toString();Connection con; Statement sql; ResultSet rs; tryClass.forName("sun.jdbc.odbc.JdbcOdbcDriver"); catch(ClassNotFoundException e) try con=DriverManager.getConnection("jdbc:odbc:wzxw","",""); sql=con.createStatement(); rs=sql.executeQuery("
27、SELECT * FROM user where user='"+user+"'"); if(rs.next()%><form name="form1" method="post" action="userupdate.jsp"> <table width="356" border="0.5" align="center" cellspacing="20"> <tr>
28、<td>用戶編號</td> <td><input name="userid" type="text" id="userid" value="<%=rs.getString("userid")%>"></td> </tr> <tr> <td width="116">用戶名:</td> <td width="224"><in
29、put name="user" type="text" id="user"value="<%=rs.getString("user")%>"></td> </tr> <tr> <td>密碼:</td> <td><input name="password" type="text" id="password"value="<%=r
30、s.getString("password")%>"></td> </tr> <tr> <td>性別:</td> <td><input name="sex" type="radio" value="男" checked> 男 <input type="radio" name="sex" value="女"> 女</td> <
31、;/tr> <tr> <td>年齡:</td> <td><input name="age" type="text" id="age2"value="<%=rs.getString("age")%>"></td> </tr> <tr> <td>地址:</td> <td><input name="adds" type=&quo
32、t;text" id="adds2"value="<%=rs.getString("adds")%>"></td> </tr> <tr> <td height="54">郵箱:</td>ing("email")%>"></td> </tr> <% con.close();catch(SQLException e) out.print(e);%> <
33、;tr> <td height="50"><div align="center"> </div></td> <td><div align="center"> <input type="submit" name="Submit2" value="提交"> </div></td> </tr> </table></form></
34、body>5.3.2.后臺數(shù)據(jù)的更改后臺保存的代碼如下:<body><%! public String transch(String str) try byte lb=str.getBytes("iso-8859-1"); str=new String(lb,"gb2312"); return str; catch(Exception e)return str; %><% String userid=request.getParameter("userid");String user=transch
35、(request.getParameter("user");etParameter("password");String sex=transch(request.getParameter("sex");String age=transch(request.getParameter("age");String adds=transch(request.getParameter("adds");String email=transch(request.getParameter("email
36、"); Connection con=null; Statement sql=null; ResultSet rs=null; tryClass.forName("sun.jdbc.odbc.JdbcOdbcDriver"); catch(ClassNotFoundException event) ection("jdbc:odbc:wzxw","",""); sql=con.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE,ResultSet.CONCUR_
37、UPDATABLE); String condition="update user set user='"+user+"',password='"+password+"',age='"+age+"',adds='"+adds+"' ,email='"+email+"' where userid='"+userid+"' " int i=sql.executeUp
38、date(condition); if(i>0)out.print("修改成功 <a href=yonghupage.jsp>請返回</a>" ); %> <%elseout.print("修改失敗 <a href=xfxx.jsp>請返回</a>" );%> <% con.close(); catch(SQLException event) %></body>5.4 會員刪除新聞會員登錄成功后對自己發(fā)布的新聞可以進(jìn)行刪除,對別的會員發(fā)布的新聞則無法刪除。運行
39、界面如圖5-4:圖5-4 刪除新聞頁面通過獲得新聞的編號來對新聞進(jìn)行刪除,具體代碼如下:5.4.1.后臺數(shù)據(jù)庫中數(shù)據(jù)的刪除<body><%String isbn=request.getParameter("isbn");Connection con; Statement sql; ResultSet rs; tryClass.forName("sun.jdbc.odbc.JdbcOdbcDriver"); catch(ClassNotFoundException e) try con=DriverManager.getConnectio
40、n("jdbc:odbc:wzxw","",""); sql=con.createStatement(); int i=sql.executeUpdate("delete FROM xinwen where isbn='"+isbn+"'"); con.close(); %> <jsp:forward page="deletexw.jsp"/> <% catch(SQLException e1) %></body>5.
41、5 總結(jié)對新聞信息管理的操作,主要應(yīng)用到添加、刪除、修改和查詢的功能,在本小節(jié)反復(fù)的應(yīng)用到這四種sql語句。第六章 網(wǎng)站前臺主要功能模塊設(shè)計6.1 今日新聞的顯示新聞全部內(nèi)容運行結(jié)果如圖6-1所示:圖6-1 新聞顯示頁面6.1.1.查看所有新聞頁面的顯示這個功能就是新聞的查看,主要用到了sql語句中的select語句。顯示所有的新聞具體的代碼如下:<% Connection con; Statement sql; ResultSet rs; tryClass.forName("sun.jdbc.odbc.JdbcOdbcDriver"); catch(ClassNot
42、FoundException e) try con=DriverManager.getConnection("jdbc:odbc:wzxw","",""); sql=con.createStatement(); rs=sql.executeQuery("SELECT * FROM xinwen"); while(rs.next()%> <tr> <td><%String isbn=rs.getString("isbn");%><%=isbn%>
43、;</td> <td><%=rs.getString(2)%></td> <td><%=rs.getString(5)%></td> <td><a href="look.jsp?isbn=<%=isbn%>" target="rightFrame">查看新聞</a></td></tr> <% con.close(); catch(SQLException e1) out.print(e1.get
44、Message(); %> 6.2 查看新聞具體內(nèi)容模塊的設(shè)計6.2.1.新聞詳細(xì)內(nèi)容的顯示通過傳遞新聞編號的值從數(shù)據(jù)庫中查找對應(yīng)的新聞并顯示,具體代碼如下: <% String isbn=request.getParameter("isbn"); Connection con; Statement sql; ResultSet rs; ResultSet rs1; tryClass.forName("sun.jdbc.odbc.JdbcOdbcDriver"); catch(ClassNotFoundException e) try con
45、=DriverManager.getConnection("jdbc:odbc:wzxw","",""); sql=con.createStatement(); rs=sql.executeQuery("SELECT * FROM xinwen where isbn='"+isbn+"'"); if(rs.next()%><form name="form1" method="post" action="liuyan.j
46、sp"> </p> <div align="left">編號: <input name="isbn" type="text" id="isbn"value="<%=rs.getString("isbn")%>" size="20"> </div> <p>題目: <input name="timu" type="text" i
47、d="timu" value="<%=rs.getString("timu")%>" size="20"/> </p> <p>內(nèi)容: <textarea name="neirong" cols="45" rows="5" id="neirong"><%=rs.getString("neirong")%></textarea> </p&
48、gt; <p>發(fā)布人: <input name="faburen" type="text" id="faburen" value="<%=rs.getString("fabuzhe")%>" size="20"/></p> <p>留言: <textarea name="liuyan" cols="45" rows="5" id="liuyan
49、"></textarea></p><% con.close();catch(SQLException e) out.print(e);%> <p align="left"> <input type="submit" name="button" id="button" value="提交" /> <a href="lhf.jsp?isbn=<%=isbn%>" target="
50、;rightFrame">查看回復(fù)</a> <div align="right" class="style1"><a href="ckxinwen.jsp" target="rightFrame">返回 </a> </div></form>6.3 輸入新聞的關(guān)鍵字查找新聞關(guān)鍵字查找新聞就是在文本框中輸入新聞的相關(guān)內(nèi)容,執(zhí)行SQL語句,查找相關(guān)新聞信息,其中的下拉列表框是一個查詢的動作,實現(xiàn)過程與前面的后臺新聞相似,這里就不做介紹
51、了。新聞查找運行結(jié)果如圖6-2所示。圖6-2 關(guān)鍵字查詢6.3.1.新聞搜索并顯示關(guān)鍵字查找新聞控制層代碼實現(xiàn)如下:<%! public String transch(String str) try byte lb=str.getBytes("iso-8859-1"); str=new String(lb,"utf-8"); return str; catch(Exception e)return str; %><% String key=transch(request.getParameter("key"); St
52、ring leibie=transch(request.getParameter("leibie"); Connection con; Statement sql; ResultSet rs; tryClass.forName("sun.jdbc.odbc.JdbcOdbcDriver"); catch(ClassNotFoundException e) try con=DriverManager.getConnection("jdbc:odbc:wzxw","",""); sql=con.cr
53、eateStatement(); rs=sql.executeQuery("SELECT * FROM xinwen where neirong like '%"+key+"%' and leibieid='"+leibie+"'"); if(rs.next()%><form name="form1" method="post" action="liuyan.jsp">編號:ring("isbn")%>
54、;"/> <p>題目: <input name="timu" type="text" id="timu" value="<%=rs.getString("timu")%>" size="20"/></p> <p>內(nèi)容: <textarea name="neirong" cols="45" rows="5" id="neiron
55、g"><%=rs.getString("neirong")%></textarea> </textarea> </p> <p>發(fā)布人: <input name="faburen" type="text" id="faburen" value="<%=rs.getString("fabuzhe")%>" size="20"/></p> <p&
56、gt;留言: <textarea name="liuyan" cols="45" rows="5" id="liuyan"></textarea></p> <p align="left"> <input type="submit" name="button" id="button" value="提交" /> </p> <div align
57、="right" class="style1"><a href="ckxinwen.jsp" target="rightFrame">返回 </a> </div> <% elseout.print("對不起,找不到相關(guān)的新聞"); con.close();catch(SQLException e) out.print(e);%></form>通過上述的方法,在jsp頁面利用String key=transch(request.ge
58、tParameter("key"); String leibie=transch(request.getParameter("leibie");找到相關(guān)新聞,在頁面中使用即可。6.4 游客留言模塊的設(shè)計游客留言就是游客查看新聞后,對新聞發(fā)布留言,通過執(zhí)行SQL語句,插入數(shù)據(jù)庫中。留言運行結(jié)果如圖6-3所示圖6-3 留言6.4.1.后臺數(shù)據(jù)庫的插入<%! public String transch(String str) try byte lb=str.getBytes("iso-8859-1"); str=new String(
59、lb,"gb2312"); return str; catch(Exception e)return str; %><% String isbn=transch(request.getParameter("isbn");String timu=transch(request.getParameter("timu");String liuyan=transch(request.getParameter("liuyan"); Connection con=null; Statement sql=null;
60、ResultSet rs=null; tryClass.forName("sun.jdbc.odbc.JdbcOdbcDriver"); catch(ClassNotFoundException event) on("jdbc:odbc:wzxw","",""); sql=con.createStatement(); String condition="INSERT INTO liuyan VALUES('"+isbn+"','"+timu+"
61、;','"+liuyan+"')" int i=sql.executeUpdate(condition); if(i>0) %> <jsp:forward page="ckxinwen.jsp"/> <%else%> <jsp:forward page="look.jsp"/> <% con.close(); catch(SQLException event) %>小 結(jié)這次畢業(yè)設(shè)計讓我更加熟悉了從理論到實踐的跨越。從當(dāng)初的查閱圖書,到現(xiàn)在的
62、網(wǎng)站成功運行,這中間有很多值得回味的地方。 這次的設(shè)計,從選題到實現(xiàn),幾乎都是自己獨立完成的。從前臺網(wǎng)頁設(shè)計的實現(xiàn),到后臺代碼的編輯,我用到的軟件主要有Dreamweaver、Apache、Access等,并首次運用JSP語言,開發(fā)了這個簡單的網(wǎng)站新聞管理系統(tǒng)。在系統(tǒng)的開發(fā)過程中,多門以前感覺很抽象的課程,如軟件工程、數(shù)據(jù)庫原理、面向?qū)ο蟪绦蛟O(shè)計等變得清晰起來,強烈地感覺到這幾門理論課程在實踐中的重要性。整個過程中,從需求分析到設(shè)計、編碼、測試,我都力求規(guī)范化和文檔化,努力讓自己以前學(xué)的知識運用到本網(wǎng)站的開發(fā)中,盡量保證整個系統(tǒng)的開發(fā)進(jìn)度和質(zhì)量,順利完成這次的畢業(yè)設(shè)計,為自己的大學(xué)生涯畫上一個完美的句號。不過,在系統(tǒng)開發(fā)過程中,好多知識都是隨學(xué)隨用,就增加了很多不必要的麻煩。比如說:一個網(wǎng)頁中的表單不能相互嵌套,JSP中關(guān)于中文亂碼的處理,數(shù)據(jù)庫的安全性問題,框架的使用等。雖說這些都會消耗系統(tǒng)開發(fā)的時間,但在老師、同學(xué)以及自己的不
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 濟(jì)南2025年山東濟(jì)南市濟(jì)陽區(qū)所屬事業(yè)單位招聘初級綜合類崗位44人筆試歷年參考題庫附帶答案詳解-1
- 湖南軟件職業(yè)技術(shù)大學(xué)《軟件質(zhì)量控制與測試技術(shù)》2023-2024學(xué)年第二學(xué)期期末試卷
- 成都工業(yè)學(xué)院《云平臺系統(tǒng)》2023-2024學(xué)年第二學(xué)期期末試卷
- 平頂山職業(yè)技術(shù)學(xué)院《建設(shè)工程造價A》2023-2024學(xué)年第二學(xué)期期末試卷
- 重慶電子工程職業(yè)學(xué)院《城鄉(xiāng)規(guī)劃原理修詳設(shè)計》2023-2024學(xué)年第二學(xué)期期末試卷
- 江西應(yīng)用工程職業(yè)學(xué)院《書籍形態(tài)設(shè)計》2023-2024學(xué)年第二學(xué)期期末試卷
- 揚州中瑞酒店職業(yè)學(xué)院《人工智能與大模型》2023-2024學(xué)年第二學(xué)期期末試卷
- 山東工藝美術(shù)學(xué)院《電腦立體設(shè)計》2023-2024學(xué)年第二學(xué)期期末試卷
- 青海高等職業(yè)技術(shù)學(xué)院《建筑施工組織及BIM應(yīng)用》2023-2024學(xué)年第二學(xué)期期末試卷
- 濟(jì)南幼兒師范高等專科學(xué)?!讹L(fēng)景園林設(shè)計實驗古典園林景觀設(shè)計》2023-2024學(xué)年第二學(xué)期期末試卷
- 冀教版英語九年級Unit 5 單詞短語預(yù)習(xí)復(fù)習(xí)單
- 公司安全生產(chǎn)監(jiān)督管理辦法
- 鋼筋工工藝與實習(xí)(第二版)課件匯總?cè)珪娮咏贪竿暾嬲n件最全幻燈片(最新)課件電子教案幻燈片
- 煤礦從業(yè)人員考試題庫全答案(word版)
- 洞頂回填技術(shù)交底
- 最簡易的帕累托圖制作方法簡介PPT通用課件
- 城市軌道交通應(yīng)急處理課程標(biāo)準(zhǔn)
- 初二下分式混合計算練習(xí)1(附答案)
- (完整版)振幅調(diào)制與解調(diào)習(xí)題及其解答
- 抗震支架施工安裝合同
- JJG 657-2019 呼出氣體酒精含量檢測儀 檢定規(guī)程(高清版)
評論
0/150
提交評論