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

正文內(nèi)容

基于hibernate和struts的網(wǎng)上書店系統(tǒng)畢業(yè)論文設(shè)計(jì)(完整版)

2025-01-04 21:55上一頁面

下一頁面
  

【正文】 stry wills increasingly fierce petition between. The rapid development of Inter and emerce breakthrough in time and space limitations, brings more development opportunities to enterprises, but also increases the intensity of petition among enterprises. In this paper, the online book purchase and sale as an example, expounds the online book purchase and sale system brings the convenience. Online book purchase and sale system is a typical emerce systems. With the popularity of the Inter and online book purchase and sale is being more and more mature, there will be more and more consumer groups to join the ranks of online shopping, the market potential will be given full play. This system realizes the basic function of the site, including registration, membership view sites within the book details, view the announcement, add shopping cart and view orders as well as the administrator for the library management, order management, inventory management etc. The system uses the Java language programming, uses my eclipse as development tool, JSP as the web development technology, mainly according to the system design and an overview of the application and development of Inter in business. The system page friendly, simple operation and easy to use. Key words: JSP。網(wǎng)絡(luò)漸漸的從人們極少了解的領(lǐng)域來到了全球平常人的生活中。 這個(gè)網(wǎng)上書店系統(tǒng)所需要的功能從會(huì)員角度進(jìn)行劃分,可以分為前臺(tái)會(huì)員功能和后臺(tái)管理功能。 MySQL 的 SQL 語言是用于訪問數(shù)據(jù)庫的最常用標(biāo)準(zhǔn)化語言。 (1)MModel 模型 模型( Model)的職責(zé)是負(fù)責(zé)業(yè)務(wù)邏輯。服務(wù)器將擔(dān)負(fù)更多的工作,對(duì)數(shù)據(jù)庫和應(yīng)用程序的執(zhí)行將在服務(wù)器上完成。 (2)經(jīng)濟(jì)可行性 開發(fā)該系統(tǒng)所需的相關(guān)資料可以通過已存在的相關(guān)系統(tǒng)進(jìn)行調(diào)查采集,所需的其他應(yīng)用軟件 、硬件系統(tǒng)也易于獲得,可以節(jié)省不少人力、物力及財(cái)力。 后臺(tái)管理相關(guān)功能主要包括: (1)公告管理; (2)圖書類別管理; (3)圖書管理; (4)訂單管理; 北京郵電大學(xué)畢業(yè)設(shè)計(jì) 5 (5)查看庫存記錄; (6)庫存盤點(diǎn); (7)銷售統(tǒng)計(jì); (8)留言管理; (9)會(huì)員管理; (10)圖片管理; (11)密碼修改等。 管理員的主要操作主要對(duì)圖書的管理、訂單的管理、庫存等的管理。 (6)庫存盤點(diǎn):管理員可以在此查看圖書的庫存剩余量,做到及時(shí)的增加庫存。 (2)首頁功能:會(huì)員登錄后進(jìn)入到系統(tǒng)首頁,可以看到圖書類別的分類、圖書的展示,也可以進(jìn)行圖書的搜索,查看新聞公告、留言板等信息。下面可以設(shè)計(jì)如何將這些模塊組織在一起,構(gòu)成一個(gè)結(jié)構(gòu)比較合理的后臺(tái)了。 表 購物車表 名稱 數(shù)據(jù)類型 長度 備注 id int 11 主鍵 productid varchar 255 圖書 id num varchar 255 數(shù)量 memberid varchar 255 會(huì)員 id (2)庫存記錄表 kcrecord 用來存儲(chǔ)主鍵、圖書 id、出入庫數(shù)量、類型、時(shí)間的信息,具體表如下表 所示。 表 銷售表 名稱 數(shù)據(jù)類型 長度 備注 id int 11 主鍵 productid varchar 255 圖書 id num varchar 255 銷售量 savetime varchar 255 時(shí)間 (9)用戶表 sysuser 主要存儲(chǔ)用戶名、密碼、姓名、性別、電話、地址等信息,具體如表 所示。 (2)首頁功能:會(huì)員登錄后進(jìn)入到系統(tǒng)首頁,可以看到圖書類別的分類、圖書的展示,也可以進(jìn)行圖書的搜索,查看新聞公告、留言板等信息。 16 首頁運(yùn)行結(jié)果如圖 51 所示。 (1)會(huì)員注冊 當(dāng)會(huì)員第一次登錄時(shí)首先要在網(wǎng)站上注冊,成為會(huì)員才可以在網(wǎng)站上商城,注冊頁面必須填寫一些會(huì)員的基本信息,如會(huì)員名、密碼、聯(lián)系電話等信息。 return false。 //如果注冊名檢查有效 if ( (1) ) { (namets).innerHTML=√。 } } } } function InitAjax() { var ajax=false。) { ajax = new XMLHttpRequest()。 }if(!=){ alert(兩次密碼不一致 )。 %}% /script /body //用戶注冊 后臺(tái)處理 public String memberReg() { String hql = from Sysuser where uname=39。 (upass)。 (0)。 % bodyjsp:include page=/jsp:include center TABLE border=0 cellSpacing=0 cellPadding=0 width=1006 align=center TBODYTRTD vAlign=top width=188 22 jsp:include page=/jsp:include/TD TD vAlign=top width=787 TABLE border=0 cellSpacing=0 cellPadding=0 width=100% height=5 TBODYTRTD height=5/TD/TR/TBODY/TABLE TABLE border=0 cellSpacing=0 cellPadding=0 width=100% TBODYTRTD height=10 width=787/TD/TR TRTD height=25 background=files/ TABLE width=100% TBODYTRTD width=90% align=left STRONG登陸 /STRONG/TDTR TD height=180 vAlign=top TABLE border=0 cellSpacing=0 cellPadding=0 width=99% align=center TBODYTRTD height=10 vAlign=top/TD/TR TRTDDIV style=WIDTH: 800px form action= name=f1 method=post onsubmit=return ck() table width=100% trtd用戶名 /td tdinput type=text id=uname name=uname span id=namets/span/td/tr trtd密碼 /td tdinput type=password id=upass name=upass */td/tr trtd colspan=2 input type=submit value=提交 input type=reset value=重置 /td/tr/table/form /DIV/TD/TR/TBODY/TABLE/TD/TR /TBODY/TABLE/TD/TR/TBODY/TABLE /center jsp:include page=/jsp:include script type=text/javascript function ck(){ if(==){ alert(請(qǐng)輸入用戶名 )。 %} if(suc!=null){//如果登錄失敗,提示并轉(zhuǎn)到主界面 23 % alert(登陸成功 )。+uname+39。//根據(jù)查詢結(jié)果,判斷登錄是否成功 HttpServletResponse response=()。 圖 55 會(huì)員查看圖書模塊流程圖 主要代碼如下: %CommonDAO dao = (CommonDAO)(request,CommonDAO)。 (id)。 } } % 購物車模塊 會(huì)員把喜歡的圖書預(yù)定之后會(huì)顯示在購物車中,在此會(huì)圖書的總額、購買數(shù)量、移除購物車或是點(diǎn)擊購買生成訂單。 if(().equals(yes)){ price = ()。 int responseContext。 ()。 (proinfo)。 for(int i=0。 (content)。 管理員功能模塊 包括管理員身份驗(yàn)證、添加圖書模塊、訂單信息管理模塊、會(huì)員信息管理模塊、添加分類模塊、新聞公告信息管理模塊等。+uname+39。 (admin, sysuser)。 ()。 suc=。 (type)。 (notice)。 (0)。 32 return success。 return success。 return erro。+id+39。 suc=。 return success。 (notice)。 } //留言刪除 public String msgDel(){ (id, Msg)。 (msg)。 return success。+upass+39。該頁面用來判斷輸入信息在數(shù)據(jù)庫中 sysuser 表是否存在提交的會(huì)員名和密 29 碼,如果登錄 ID 及密碼有效,就保存會(huì)員名信息,管理員有權(quán)對(duì)網(wǎng)站進(jìn)行維護(hù);反之則提示錯(cuò)誤。//保存會(huì)員 id 到留言板 ()。i++){//提交訂單后,刪除購物車中的書 (carid[i], Car)。 (未發(fā)貨 )。訂單查詢模塊如圖 57所示。 (responseContext)。 } total += (price)*(())。 圖 56 購物車頁面運(yùn)行結(jié)果 主要代碼如下: //購物車 前臺(tái)頁面 TD width=90% align=leftSTRONG購物車 /STRONG/TD TD width=10% align=right/TD/TR/TBODY/TABLE/TD/TR TRTD height=180 vAlign=top STYLE type=text/css.style4 { COLOR: ff0000 }/STYLE TABLE border=0 cellSpacing=0 cellPadding=0 width=99% align=center TBODY TRTD height=10 vAlign=top/TD/TR TRTDDIV style=WIDTH: 800px table width=100% border=0 bgcolor=cccccc cellpadding=1 cellspacing=1 tr align=center bgcolor=cccccc td圖片 /td t
點(diǎn)擊復(fù)制文檔內(nèi)容
環(huán)評(píng)公示相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1