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

正文內(nèi)容

網(wǎng)上書店系統(tǒng)_jsp課程設(shè)計(jì)-預(yù)覽頁(yè)

 

【正文】 % String strKeyword=(keyword)。 if(()=0) { (對(duì)不起,沒(méi)有找到符合條件的圖書。 } % table tr th書名 /th th價(jià)格 /th th查看 /th th購(gòu)買 /th /tr % 12 IteratorBookBean it=()。 float price=()。 String action=(action)。 if(null==strItemNum || .equals(strItemNum)) { throw new ServletException(非法的參數(shù) )。i++) { String strNum=(num_+i)。 boolean bEnough=(bookId,quantity)。 (《 +()+》 )。 if(()=0) { (購(gòu)物車中沒(méi)有圖書 p)。 while(()) { CartItemBean cartItem=(CartItemBean)()。 String fieldBook=book_+i。 public class BookBean implements Serializable { private int id。 private String publish_date。 public BookBean() { } public BookBean(int id, String title, String author, String bookconcern, String publish_date, float price, int amount, String remark) { =id。 =publish_date。 } public int getId() { return id。 } public void setPublish_date(String publish_date) { = publish_date。 } public String getTitle() { return title。 } public float getPrice() { return price。 import 。 import .*。 import 。 19 }*/ String url=jdbc: String username=root。 public BookDBBean() throws Exception { (driverClass)。 */ protected void closeConnection(Connection conn) { if(conn!=null) { try { ()。 */ protected void closeStatement(Statement stmt) { if(stmt!=null) { try { ()。 */ protected void closePreparedStatement(PreparedStatement pstmt) { if(pstmt!=null) { try { ()。 */ protected void closeResultSet(ResultSet rs) { if(rs!=null) { try { ()。 */ public CollectionBookBean getBooks() throws SQLException { Connection conn=null。 try { conn = getConnection()。 (book)。 closeConnection(conn)。 ResultSet rs=null。 rs=()。 } finally { closeResultSet(rs)。 */ public CollectionBookBean searchBook(String keyword) throws SQLException { Connection conn=null。 try { conn=getConnection()。 rs=(sql)。 } finally { closeResultSet(rs)。 */ public boolean isAmountEnough(int bookId, int quantity) throws SQLException { Connection conn=null。 try { conn=getConnection()。 if(amount = quantity) bEnough=true。 } return bEnough。 IteratorCartItemBean it=().iterator()。 while(()) { CartItemBean item=(CartItemBean)()。 (1,quantity)。 } finally { closePreparedStatement(pstmt)。 import 。 private int numOfItems=0。 */ public synchronized void addItem(Integer bookId, BookBean book) { if(!(bookId)) { CartItemBean item=new CartItemBean(book)。 */ public synchronized void deleteItem(Integer bookId) { if((bookId)) { (bookId)。 numOfItems=0。 */ public synchronized void setItemNum(Integer bookId,int quantity) { if((bookId)) { 28 CartItemBean item=(CartItemBean)(bookId)。 } } /** * 得到購(gòu)物車中所有圖書的價(jià)格。 amount+=()。 } /** * 判斷圖書是否已經(jīng)加入購(gòu)物車中。 import 。 =1。 } public int getQuantity() { return quantity。 return val/。 ( 3)客戶基本信息表:存放書店客戶的基本信息。通過(guò)這次課程設(shè)計(jì),我認(rèn)識(shí)到了數(shù)據(jù)庫(kù)系統(tǒng)在、查運(yùn)算詢方面的突出作用,我認(rèn)為數(shù)據(jù)庫(kù)可謂是數(shù)據(jù)管理系統(tǒng)最好的幫手,并且我通過(guò)與曾經(jīng)學(xué)習(xí)過(guò)的 Mysq相互比較,發(fā)現(xiàn)了數(shù)據(jù)庫(kù) JAVA 等面向?qū)ο蟮能浖貙⒋嬉活惷嫦蛘Z(yǔ)言的數(shù)據(jù)庫(kù)。在整個(gè)設(shè)計(jì)中我懂得了許多東西,也培養(yǎng)了我獨(dú)立工作的能力,樹(shù)立了對(duì)自己工作能力的信心,相信會(huì)對(duì)今后的學(xué)習(xí)工作生活有非常重要的影響
點(diǎn)擊復(fù)制文檔內(nèi)容
高考資料相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1