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

正文內(nèi)容

網(wǎng)上服裝店系統(tǒng)論文-閱讀頁

2025-07-13 21:32本頁面
  

【正文】 public User login(String name, String passwd)throws ManagerUserException。 Transaction tran = null。 tran = ()。 ()。 ()。} } public Order findById(Integer id) throws ManagerOrderException { Session session = null。 Order order = null。 tran = ()。 (())。 }catch(Exception e){ ()。 }finally{ ()。 } } Action類幾個經(jīng)典的Action類: LoginAction類public class LoginAction extends Action { public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception { ActionForward forward=null。 String passwd=(passwd)。 User user=(name, passwd)。 return (success)。 return (error)。 //如果購物車為空就新建一個購物車 String product_id=(product_id)。 Product product=null。 OrderLine orderline=new OrderLine()。 (product)。 Map map=()。 ().setAttribute(list, orderlines)。 ProductListAction類public class ProductListAction extends Action { public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception { ShopCart shopCart = (ShopCart)().getAttribute(shopcart)。 ().setAttribute(shopcart, shopCart)。 Collection Product productList = null。 if(tj!=null){ int tjid = (tj)。 switch (tjid) { case 1: productList = ()。 case 2: Product product = new Product()。 productList = (product)。 case 3: Product product2 = new Product()。 productList = (product2)。 case 4: Product product3 = new Product()。 productList = (product3)。 default: break。} (productlist, productList)。 } FormBean 類ManageProductFormpublic class ManageProductForm extends ActionForm { private static final long serialVersionUID = 1L。 private int product_id。 } public void setProduct(Product product) { = product。 } public void setProduct_id(int productId) {product_id = productId。 private User user = new User()。 public Integer getId() {return id。 } public User getUser() {return user。 }第7章 系統(tǒng)測試及結果分析 測試綜述為了確保本系統(tǒng)的質(zhì)量和可靠性,要對系統(tǒng)進行全面的測試和調(diào)試,主要是軟件測試和數(shù)據(jù)庫測試,下面分別對它們進行了介紹。從用戶和軟件開發(fā)人員不同的角度看,進行軟件測試的目的是完全不同的。因此,軟件開發(fā)人員往往會選擇那些導致程序失敗概率小的測試數(shù)據(jù)去測試軟件。因此,測試的目的應該是從軟件包含有錯誤這一前提出發(fā),通過測試查出并改正盡可能多的錯誤,不斷提高軟件的質(zhì)量和可靠型軟件測試分為動態(tài)測試和靜態(tài)測試。本系統(tǒng)采用的是黑盒測試。 數(shù)據(jù)庫測試測試系統(tǒng)與數(shù)據(jù)庫是否連接上可以在包里寫一個測試類TestSQL,代碼如下:import publicTestSQLstaticmain(String[]{ StringDatabaseName=kucunguanli。username=sa。pwd=。driver=。conn=null。 (數(shù)據(jù)庫驅(qū)動程序注冊成功!)。 (數(shù)據(jù)庫連接成功)。e){ ()。 測試實例注冊用戶billdone,登錄billdone,打開系統(tǒng)主頁查詢衣服或者根據(jù)衣服圖片信息,選擇衣服查看衣服詳細信息把所有看中的衣服加入購物車將購物車內(nèi)的衣服,選擇下訂單的衣服結 論經(jīng)過兩個多月的努力,完成了本次畢業(yè)設計。設計時,嚴格按照軟件工程的思想,從需求分析、可行性分析、總體設計、最后到詳細設計。在設計過程中,我遇到了很多技術上的問題,平時在學習過程中,即使上機實驗也都是些小的、較為簡單的程序設計,都稱不上為系統(tǒng),因此,在開發(fā)系統(tǒng)的過程中碰到了很多棘手的問題,對于很多新的知識都是一知半解,只有在網(wǎng)上或圖書館搜集資料多加理解,然后再向同學和老師請教,慢慢嘗試,多多練習,一點點改進,盡量實現(xiàn)所有設計的功能模塊。最后采用JDBC的方式連接MySQL數(shù)據(jù)庫,經(jīng)過幾番調(diào)試后,系統(tǒng)和數(shù)據(jù)庫成功連上。通過這次畢業(yè)設計使我把以前所學的零散的知識進行了一次大綜合,對軟件開發(fā)也有一個總體的認知,讓我不在害怕編程,為以后的軟件開發(fā)打下了堅實的基礎。致 謝本次畢業(yè)設計從選題、設計到確定課題經(jīng)歷了較長時間。首先感謝我的導師教授,在百忙之際仍然盡力幫我們解決遇到的問題,給我們講解專業(yè)方面的很多知識,并教我們學習的方法,他嚴謹?shù)墓ぷ髯黠L同樣也影響著我們,使我們也養(yǎng)成了嚴謹?shù)膶W習態(tài)度。從他那里我學到了更多的是做事和學習的態(tài)度問題,以及思考問題的全面性和嚴謹性,這對以后不論是在學校還是在工作崗位上都有很大的幫助。因為和陳會能同學都是用的Java語言做的系統(tǒng),他又比較精通此語言,所以給了我很大幫助,很多Java方面的不懂的問題都會請教他,在他的幫助下對Java也慢慢精通些,在這里非常感謝他在技術上給我指導?!安环e跬步無以至千里”,這次畢業(yè)設計能夠最終順利完成,歸功于各位老師四年間的認真教誨和諄諄教導,使我能夠很好的掌握專業(yè)知識,并在畢業(yè)設計中得以體現(xiàn)。參考文獻[1] 葉志軍.由淺入深——Java 2自學教程 [M] .北京:人民郵電出版社,[2]《Web開發(fā)人員參考大全》柯恩、胡為君人民郵電出版社 2008[6] 夏邦貴等.SQL 數(shù)據(jù)庫開發(fā)經(jīng)典實例解析 [M].北京:機工出版社,2006.[7] 丁寶康,董健全.數(shù)據(jù)庫實用教程(第二版)[J].北京:清華大學出版社,2003.[8] 明日科技,劉彬彬,馬文強.Eclipse應用開發(fā)完全手冊 [M].北京:人民郵電出版社,[9] 思維科技,葉達峰.Eclipse編程技術與實例 [M] .北京:人民郵電出版社,[10] 張海藩.軟件工程導論 [M].北京: 清華大學出版社, [11] Cay ,Gary Cornell,Java 2核心技術[M]. 北京:機械工業(yè)出版社,2000,2967[12] George Reese. JDBC與java數(shù)據(jù)庫編程[M]. 中國:電力出版社, 2002[13] 附錄 英文原著 (出處: Malcolm Davis. Strutsan opensource MVC implementation [J]. IBM Systems Journal, 2006,44(2):3337.)Struts——an opensource MVC implementationMalcolm DavisThis article introduces Struts, a ModelViewController implementation that uses servlets and JavaServer Pages (JSP) technology. Struts can help you control change in your Web project and promote specialization. Even if you never implement a system with Struts, you may get some ideas for your future servlets and JSP page implementation.IntroductionKids in grade school put HTML pages on the Internet. However, there is a monumental difference between a grade school page and a professionally developed Web site. The page designer (or HTML developer) must understand colors, the customer, product flow, page layout, browser patibility, image creation, JavaScript, and more. Putting a great looking site together takes a lot of work, and most Java developers are more interested in creating a great looking object interface than a user interface. JavaServer Pages (JSP) technology provides the glue between the page designer and the Java developer. If you have worked on a largescale Web application, you understand the term change. ModelViewController (MVC) is a design pattern put together to help control change. MVC decouples interface from business logic and data. Struts is an MVC implementation that uses Servlets and JSP tags, from the J2EE specifications, as part of the implementation. You may never implement a system with Struts, but looking at Struts may give you some ideas on your future Servlets and JSP implementations.ModelViewController (MVC)JSP tags solved only part of our problem. We still have issues with validation, flow control, and updating the state of the application. This is where MVC es to the rescue. MVC helps resolve some of the issues with the single module approach by dividing the problem into three categories: s functionality. The model encapsulates the state of the application. Sometimes the only functionality it contains is st
點擊復制文檔內(nèi)容
環(huán)評公示相關推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1