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

正文內(nèi)容

基于java的酒店客房網(wǎng)上管理系統(tǒng)設(shè)計(jì)與實(shí)現(xiàn)-資料下載頁(yè)

2025-08-28 21:31本頁(yè)面

【導(dǎo)讀】它的功能對(duì)于酒店的經(jīng)營(yíng)者和管理者來(lái)說(shuō)都非常重要,酒店客房網(wǎng)上管理系統(tǒng)能夠讓用。戶更加方便快捷的訂退房和續(xù)費(fèi),信息更加透明和豐富。有助于提高管理的效率,客房管理系統(tǒng)是根據(jù)某酒店對(duì)客房管理的實(shí)際情況進(jìn)行編。務(wù)器,并編寫(xiě)servlet處理頁(yè)面的請(qǐng)求,查詢數(shù)據(jù)庫(kù),跳轉(zhuǎn)到頁(yè)面實(shí)現(xiàn)功能?,F(xiàn)客房的預(yù)定、退房、續(xù)住、后臺(tái)客房信息的管理、系統(tǒng)信息管理等。酒店數(shù)量的急劇增加,有關(guān)客房管理的各種信息量也在不斷成倍增長(zhǎng)。理,管理過(guò)程繁瑣而復(fù)雜,執(zhí)行效率低,并且易于出錯(cuò)。面對(duì)龐大的信息量,酒店在正常運(yùn)營(yíng)中需要對(duì)客房資源、顧??托畔ⅰ⒔Y(jié)算信息進(jìn)行管理,利用酒店客房管理信息系統(tǒng)及時(shí)了解保個(gè)環(huán)節(jié)中信息的變更,從而減少在管理方面的工作量。提高經(jīng)濟(jì)效益、提高服務(wù)質(zhì)量、提高工作效率、全面了解營(yíng)。業(yè)情況、完善酒店內(nèi)部管理體制。Javaweb技術(shù)的飛速發(fā)展使得網(wǎng)頁(yè)編程越來(lái)越豐富。前臺(tái)頁(yè)面用jsp可以輕松實(shí)現(xiàn)。據(jù)庫(kù),修改或者查詢數(shù)據(jù),返回信息到別的界面,實(shí)現(xiàn)功能。

  

【正文】 nServlet method=post div class=center div class=lgc ! 登錄框信息欄開(kāi)始 div style=float:middle table tr 武漢理工大學(xué)華夏學(xué)院畢業(yè)論文 27 td用戶名: /td tdinput type=text name=uname / /td /tr tr td密碼: /td tdinput type=password name=psw / /td /tr div class=rsrinput type=radio name=select value=0/用戶 input type=radio name=select value=1/管理員 /div tr tdinput type=submit value= 確定 class=submit /input type=reset value=重置 class=reset / /td /tr /table /div ! 登錄框信息欄結(jié)束 /div /div /form /center /dir /div div class=bottom div class=bottoml/div div class=bottomr/div /div /div div style=clear:both。height:0px。/div /div 武漢理工大學(xué)華夏學(xué)院畢業(yè)論文 28 /center /body /html 首頁(yè)發(fā)起請(qǐng)求: public class LoginServlet extends HttpServlet { public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { (request, response)。 } public void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { (utf8)。 (utf8)。 String select=(select)。 String uname=(uname)。 String pass=(psw)。 //// if(uname==null||pass==null||.equals(uname)||.equals(pass)){ (msg, 請(qǐng)將信息填寫(xiě)完整! )。 (/login/).forward(request, response)。 return。 } /* User user=new User()。 (uname)。 (pass)。 */ try { if(0.equals(select)){ 武漢理工大學(xué)華夏學(xué)院畢業(yè)論文 29 Employee u=new Employee(uname,pass)。 if(new UserDAO().findEmployee(u)){ (roomlist, ())。 (/login/).forward(request, response)。 }else{ (msg, 用戶名或密碼錯(cuò)誤! )。 (/login/).forward(request, response)。 } }else if(1.equals(select)){ Employee u=new Employee(uname,pass)。 if(new UserDAO().findEmployee(u)){ (roomlist, ())。 (/login/).forward(request, response)。 }else{ (msg, 用戶名或密碼錯(cuò)誤! )。 (/login/).forward(request, response)。 } } return。 } catch (Exception e) { // TODO Autogenerated catch block ()。 } } } 鏈接數(shù)據(jù)庫(kù): public class DBConnection { static String url = jdbc: 武漢理工大學(xué)華夏學(xué)院畢業(yè)論文 30 static String user = root。 static String pwd = 123。 /** * 連接數(shù)據(jù)庫(kù)到 mysql * @return */ public static Connection getCon() { Connection con = null。 try { ()。 con = (url, user, pwd)。 } catch (ClassNotFoundException e) { // TODO Autogenerated catch block ()。 (Class Not Found!)。 } catch (SQLException e) { // TODO Autogenerated catch block ()。 (get Connection is worong!)。 } return con。 } } 查詢數(shù)據(jù)庫(kù): public class UserDAO { public boolean findEmployee(Employee emp) throws Exception { boolean flag=false。 Connection conn=()。 String sql=select id from user where userName=? and passWord=?。 PreparedStatement pstmt=(sql)。 (1,())。 武漢理工大學(xué)華夏學(xué)院畢業(yè)論文 31 (2, ())。 ResultSet rs=()。 while(()){ ((1))。 flag=true。 } ()。 ()。 ()。 return flag。 } } 增加數(shù)據(jù): public class AddRoom { public static boolean addRoom(RoomDto room)throws Exception{ boolean flag=false。 Connection conn=null。 PreparedStatement pstmt=null。 PreparedStatement pstmt2=null。 ResultSet rs=null。 try { conn=()。 (flag)。 String sql=select id from room where roomNum=?。 pstmt=(sql)。 (1, ())。 rs=()。 if(()){ ()。 ()。 ()。 return false。 } 武漢理工大學(xué)華夏學(xué)院畢業(yè)論文 32 String sql2=insert into room(roomNum,type,status,pirce,oprate) values(?,?,?,?,?)。 pstmt2=(sql2)。 (1,())。 (2, ())。 (3, ())。 (4, ())。 (5, 開(kāi)房 )。 ()。 ()。 flag=true。 } catch (Exception e) { ()。 throw e。 }finally{ if(rs!=null) ()。 if(pstmt!=null) ()。 if(pstmt2!=null) ()。 if(conn!=null) ()。 } return flag。 } }
點(diǎn)擊復(fù)制文檔內(nèi)容
公司管理相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1