【正文】
最后我還要感謝培養(yǎng)我長大含辛茹苦的父母,謝謝你們 ! 第 23 頁 參考 文獻 [1] 陳旭 .電子商務基礎 [M].重慶 :重慶大學出版社 . [2] 熊曉旭 ,丁玉軍,張麗梅 .瀏覽器一服務器模式管理信息系統(tǒng)可行性研究 [J].應用科技,2021, 27(9)2022. [3] Servlet 簡介 . 26(2). [4] JavaServer Pages Technology. 23(2). [5] Apache Tomcat. 10(3). [6] 鄧子云 ,張賜 .JSP 網(wǎng)絡編程 [M].北京:電子工業(yè)出版社 ,2021. [7] 杜欣然 .利用 JSP 技術開發(fā)基于 Web 的人事工資管理系統(tǒng) [D].大連 :大連鐵道學院 ,2021. [8] 馮燕奎 ,趙德奎 .JSP 實用案例教程 [M].北京:清華大學出版社 ,2021. [9] 李華飚 ,李水銀 ,郭英奎 .精通 Java 中間件編程 [M].中國水利水電出版社 ,2021. [10] 馬世 軍 ,趙子夫 ,張浩華 ,趙坤 .創(chuàng)建基于 JSP 的大學圖書館網(wǎng)絡管理系統(tǒng) [J].遼寧工學院學報 ,2021,6(5):105106. 第 24 頁 [11] 萬振凱、葉華、劉培 .網(wǎng)頁設計技術實訓教程 [M].南開大學出版社 ,2021. [12] 拓文工作室 .Java 與 Beans 開發(fā)使用手冊 [M].機械工業(yè)出版社 ,2021. [13] 沈建男 .精通從 JavaScript 到 JSP 范例程序設計 [M].中國青年出版社 ,2021. [14] Kalen Delandy,Inside Microsoft SQL Server 2021[S].USA :Microsoft press,. The Design and Realization of Campus Network Secondhand Merchandise System Based on Web ZhouWei (School of Computer and Information Engineering, Anyang normal university, Henan, Anyang, 455002) Abstract: This system is a set of platform software of the campuswide system secondhand transaction. It adopts the JSP/J2EE technique, and programmed with Java programming language. It also adopts the B/S development mode, which is based on Web and popularize in recent years. It runs in inter ways. Only when the server install this system and the client can visit it, browse and release some secondhand conveniently and speedily when they go online. And so it dispenses with such operation as the plicated installing, installment and support in traditional C/S mode. At the same time, it uses the Java language which towards the OOP(objectoriented programming).So the system has the specific property of towarding OOP, irrelevant with the platform ,the Java language’s support to the work programming technique makes the system have high practical value. The system development is divided into three parts. That is using JavaBeans to process business logic。 綜觀軟件開發(fā)行業(yè),如今對編程人員相對缺乏,尤其是初級的編程人員,我想通過我們在校學習的相關專業(yè)知識以及在實踐中積累的些經(jīng)驗,在經(jīng)過一段時間的磨練,對于開發(fā)軟件來說不是很難的事,也并非只有專業(yè)人員才能開發(fā)設計, 我們可以三兩個同學組成一個開發(fā)小組,開發(fā)一些小的應用程序,這個想法是完全可實現(xiàn)的。 經(jīng)過初期的調研、中期的開發(fā)及后期的調試,如今 WEB 校園二手交易系統(tǒng) 終于設計完畢,調試并運行通過了,開發(fā)過程本著實用、高效的原則,一切從實際情況出發(fā)。 (7).回歸測試的關聯(lián)性一定要引起充分的注意,修改一個錯誤而引起更多的錯誤出現(xiàn)的現(xiàn)象并不少見 。 (3).設計測試用例時應該考慮到合法的輸入和不合法的輸入 以及各種邊界條件,特殊情況下要制造極端狀態(tài)和意外狀態(tài),比如網(wǎng)絡異常中斷、電源斷電等情況。然而不幸的是,這種對軟件測試過分單一的闡述和解釋會帶來兩個原則性的問題。 第 21 頁 許多領域內專家也極力主張軟件測試的目的主要是在于發(fā)現(xiàn)軟件錯誤,希望在軟件開發(fā)生命周期內盡可能早的發(fā)現(xiàn)盡可能多得 bug。 }else{ (arg0, arg1)。 String uri=()。)。,39。 % (%=() %, %=() %, 39。 } 3)權限控制 : 第 20 頁 圖 15 權限控制效果圖 權限控制后臺代碼 : % List list=(List)(key)。 try{ (u)。 flag=false。 (error7,m)。 } if(!((rgx2))){ ActionMessage m= new ActionMessage(error6)。 flag=false。 (error3,m)。 } if(!((rgx2))){ ActionMessage m= new ActionMessage(error2)。 boolean flag=true。 String rgx2=[\u0391\uffe5]{1,10}$。 String idcard=()。 String names=()。 Users ut=(u)。 } public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) { HttpSession session=()。 } 出售信息管理: 圖 13 出售信息管理 界面 出售信息核心代碼 : public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) { String id=(key)。 } public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) { MessageImpl mi= new MessageImpl()。 } 留言信息管理 : 圖 12 留言信息管理 界面 留言管理后臺代碼: public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) { String id=(id)。 MerchandiseType mt=new MerchandiseType()。 MerchandiseType mt = new AjaxMerchandiseTypeImpl().findById(id)。 (list, list)。 } PageMysalepage=(PageMysale)(sql, (pageIndex))。+shoppingname+39。 String sql=from Mysale m where 1=1。 AllMysall am= new AllMysall()。 (list, list)。 MessageImpl msg = new MessageImpl()。 (mysaleid)。 (())。 第 14 頁 } 留言模塊 : 圖 9 留言功能 界面 留言的后臺代碼 : public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) { HttpSession session = ()。 } 會員個人資料管理 : 圖 8 會員個人資料管理 界面 會 員個人資料管理核心代碼 : public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) { String id=(key)。 } catch (FileNotFoundException e) { ()。 if (c 1024) { break。 try { InputStream is = ()。 } String fileurls = fileurl + \\ + str。 String fileurl = (\\upload + \\ + ())。 Users u = (Users) (0)。 } 1)會員登錄模塊 : 會員發(fā)布出售信息 : 圖 7 發(fā)布出售信息平臺 界面 發(fā)布出售信息核心代碼 : public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) { try { AddMysaleFrom amf = (AddMysaleFrom) form。 } } if (!flag) { saveErrors(request, ms)。 flag = false。 HttpSession session = ()。 } BysjService bs = new BysjServiceImpl()。 flag = false。 第 11 頁 ActionMessages ms = new A