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

正文內(nèi)容

企業(yè)人事管理系統(tǒng)說(shuō)明書(shū)-閱讀頁(yè)

2025-04-23 11:09本頁(yè)面
  

【正文】 此Servlet專門(mén)負(fù)責(zé)處理用戶增刪改查的請(qǐng)求,調(diào)用相應(yīng)的JavaBean完成操作 * StaffDAO類進(jìn)行增刪改查具體操作的執(zhí)行 * */ public void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException { /** doGet(HttpServletRequest request,HttpServletResponse response)方法 * 用于處理用戶的Get請(qǐng)求,根據(jù)用戶的要求執(zhí)行相應(yīng)的操作 * */ (text/html)。 String pages = ../。 // 接收操作的狀態(tài) if (!(status == null || .equals(status))) { if (listbypage.equals(status)) { (req, resp)。 } if (update.equals(status)) { (req, resp)。 } } else { // 如果沒(méi)有的話才執(zhí)行此跳轉(zhuǎn) (pages).forward(req, resp)。 } public void listByPage(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException { /** listall(HttpServletRequest req, HttpServletResponse resp)方法 * 用于調(diào)用DAO完成查找所有部門(mén)信息的操作,若中間出現(xiàn)任何異常,都會(huì)拋出 * */ String pages = ../。 PaginationDisplayBean pb=new PaginationDisplayBean()。 if((currentPage0)!=null) currentPage=((currentPage0)) 。 (record, (currentPage,()))。 (currentPage, ())。 (previousPage, ())。 (lastPage, ())。 }catch(Exception e){ (執(zhí)行查找過(guò)程中出現(xiàn)異常)。 ()。 } public void insert(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException { /** insert(HttpServletRequest req, HttpServletResponse resp)方法 * 用于調(diào)用DAO完成增加一條部門(mén)信息的操作,若中間出現(xiàn)任何異常,都會(huì)拋出 * */ String pages = ../。 (((Sno)))。 ((Ssex))。 ((Seduback))。 ((Sms))。 if(new StaffDAO(new DatabaseConnection().getConnection()).doCreate(staff)){ (msg,插入成功)。 } pages=。 ()。 } (pages).forward(req, resp)。 // 默認(rèn)讓其跳轉(zhuǎn)到錯(cuò)誤的處理頁(yè) try{ int Sno=((sno))。 }else{ (msg,刪除失敗)。 }catch(Exception e){ (執(zhí)行刪除過(guò)程中出現(xiàn)異常)。 ()。 } public void update(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException { /** update(HttpServletRequest req, HttpServletResponse resp)方法 * 用于調(diào)用DAO完成查找所有部門(mén)信息的操作,若中間出現(xiàn)任何異常,都會(huì)拋出 * */ String pages = ../。 (((Sno)))。 ((Ssex))。 ((Sno))。 ((Sms))。 if(new StaffDAO(new DatabaseConnection().getConnection()).doUpdate(staff)){ (msg,更新成功)。 } pages=。 ()。 } (pages).forward(req, resp)。import .*。import 。 private PreparedStatement pstmt=null。 public LogInfoDAO(Connection conn)throws Exception{ =conn。 String sql=select * from LogInfo where Sno=? and Spass=?。 (1, ())。 rs=()。 } ()。 return flag。 String sql=select Sname from Staff where Sno=?。 (1, ())。 if(()){ name=(1)。 ()。 } public ListLogInfo findAll() throws Exception{ ListLogInfo all=new ArrayListLogInfo()。 =(sql)。 LogInfo lf=null。 ((1))。 (lf)。 ()。 }}(JSP) % page contentType=text/html pageEncoding=GBK%% page import=.* %% page import=.* %% page import=.* %htmlheadtitle用戶登錄驗(yàn)證/title/headbodycenter% (GBK) 。// 從session中取出驗(yàn)證碼 String code = (code) 。 = 。 String password = (password) 。 ((username)) 。 LogInfoDAO ldao=new LogInfoDAO(new DatabaseConnection().getConnection())。 (name,(li)) 。 = 。 return false。 var menuTitle = eval(menuTitle + sid)。)。)。charset=gb2312meta equiv=refresh content=60script language=function showsubmenu(sid) { var whichEl = eval(submenu + sid)。 if ( == none){ eval(submenu + sid + .=\\。 }else{ eval(submenu + sid + .=\none\。 }}/scriptbase target=mainlink href=images/ rel=stylesheet type=text/css/headbody leftmargin=0 topmargin=0table width=100% height=64 border=0 cellpadding=0 cellspacing=0 class=admin_topbg tr td width=61% height=64img src=images/ width=279 height=68 border=0/td td width=39% valign=toptable width=100% border=0 cellspacing=0 cellpadding=0 tr td width=74% height=38 class=admin_txt管理員:b%=(name)%/b 您好,感謝登陸使用!/td td width=22%a href= target=_self onClick=logout()。nbsp。nbsp。 //解決亂碼 % body % try{ int currentPage=((currentPage).toString())。 ListStaff all = (ListStaff)(record)。 % center h1雇員一覽表/h1hrbrbr h2a href=增加雇員信息請(qǐng)單擊這里/a/h2br table border=1 width=95% tr tdcenter員工號(hào)/center/td tdcenter員工姓名/center/td tdcenter性別/center/td tdcenter年齡/center/td tdcenter學(xué)歷/center/td tdcenter政治面貌/center/td tdcenter婚姻狀況/center/td tdcenter生理狀況/center/td tdcenter操作/center/td /tr % Staff staff=null。 % tr tdcenter%= () %/center/td tdcenter%= () %/center/td tdcenter%= () %/center/td tdcenter%= () %/center/td tdcenter%= () %/center/td tdcenter%= () %/center/td tdcenter%= () %/center/td tdcenter%= () %/center/td tdcenter a href=?sno=%=()% 修改/aamp。amp。 a href=StaffServlet?sno=%=()%amp。nbsp。nbsp。nbsp。nbsp。nbsp。nbsp。currentPage0=%=((firstPage).toString())%首頁(yè)/aamp。amp。amp。 a href=StaffServlet?status=listbypageamp。nbsp。nbsp。nbsp。currentPage0=%=((nextPage).toString())%下一頁(yè)/aamp。amp。amp。 a href=StaffServlet?status=listbypageamp。nbsp。nbsp。nbsp。 } % /body/html 插入員工信息的輸入頁(yè)面 % page language=java import=.* pageEncoding=GBK%html headtitle增加員工/title/head bodycenter % (gb2312)。nbsp。nbsp。nbsp。 % bodycenter h1修改雇員信息/h1hr % int sno=((sno))。 StaffDAO sdao=new StaffDAO(new DatabaseConnection().getConnection())。 if(staff!=null){ % brbrh2請(qǐng)按提示輸入以下信息:/h2brbr form action=StaffServlet?status=update method=post input type=hidden name=Sno value=%= () % table tr td員工姓名:/td tdinput type=text name=Sname value=%= () %/td /tr
點(diǎn)擊復(fù)制文檔內(nèi)容
公司管理相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1