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

正文內(nèi)容

企業(yè)人事管理系統(tǒng)說明書(參考版)

2025-04-11 11:09本頁面
  

【正文】 staff=(sno)。 Staff staff=new Staff()。 input type=reset value=重置 /td /tr /table /form /center /body/html 更新員工信息的輸入頁面 % page language=java pageEncoding=GBK%% page import= %% page import=.* %% page import= %html headtitle修改雇員信息/title/head % (gb2312)。amp。amp。% h1增加員工信息/h1hrh2請按提示輸入以下信息:/h2 form action=StaffServlet?status=insert method=post table tr td員工號:/td tdinput type=text name=Sno/td /tr tr td員工姓名:/td tdinput type=text name=Sname/td /tr tr td性別/td tdinput type=text name=Ssex/td /tr tr td年齡/td tdinput type=text name=Sage/td /tr tr td學歷/td tdinput type=text name=Seduback/td /tr tr td政治面貌/td tdinput type=text name=Spc/td /tr tr td婚姻狀況/td tdinput type=text name=Sms/td /tr tr td生理狀況/td tdinput type=text name=Sps/td /tr tr td colspan=2 align=center input type=submit value=提交amp。 % } % /center /td /tr /table /center % }catch(Exception e){ ()。amp。amp。currentPage0=%=((lastPage).toString())%尾頁/aamp。nbsp。nbsp。nbsp。 % } % % if(currentPage!=pageCount){ % a href=StaffServlet?status=listbypageamp。amp。amp。currentPage0=%=((previousPage).toString())%上一頁/aamp。nbsp。nbsp。nbsp。 % if(currentPage!=1){ % a href=StaffServlet?status=listbypageamp。amp。amp。 第%=currentPage %頁amp。amp。amp。status=delete 刪除/a /center /td /tr % } % tr td colspan=10center 共%=pageCount %頁amp。nbsp。nbsp。 while(()){ staff=()。 IteratorStaff iter=()。 int pageCount=((pageCount).toString())。/td /tr /table/td /tr/table/body/html 員工信息顯示 % page language=java import=.* pageEncoding=GB2312%% page import=.* %html headtitle員工信息查詢結(jié)果/title/head % (gb2312)。/td /tr tr td height=19 colspan=3amp。img src=images/ alt=安全退出 width=46 height=20 border=0/a/td td width=4%amp。)。)。 var menuTitle = eval(menuTitle + sid)。 }}/scriptmeta equiv=ContentType content=text/html。 }else{ eval(submenu + sid + .=\none\。 if ( == none){ eval(submenu + sid + .=\\。}/scriptscript language=function showsubmenu(sid) { var whichEl = eval(submenu + sid)。 /script% }%/center/body/html 網(wǎng)頁頂端 % page contentType=text/html pageEncoding=GBK%htmlheadtitle企業(yè)人事系統(tǒng)管理頁面/titlescript language=JavaScriptfunction logout(){ if (confirm(您確定要退出控制面板嗎?)) = 。 // 保存mid% jsp:forward page=/% } else {% script language=javascript alert(登錄失敗!) 。%% if((li)){ // 現(xiàn)在已經(jīng)登陸成功 ((li))。 (password)。 LogInfo li = new LogInfo() 。 /script% }%% String username = (username) 。 if(!(code)){% script language=javascript alert(請輸入正確的驗證碼!) 。 // 亂碼解決 % h1登陸程序/h1hr% String rand = (String) (rand)。 return all。 } ()。 ((2))。 while(()){ lf=new LogInfo()。 rs=()。 String sql=select * from LogInfo。 return name。 } ()。 rs=()。 =(sql)。 } public String findName(LogInfo lf) throws Exception{ String name=。 ()。 if(()){ flag=true。 (2, ())。 =(sql)。 } public boolean findLogin(LogInfo lf) throws Exception{ boolean flag=false。 private ResultSet rs=null。public class LogInfoDAO { private Connection conn=null。import .*。 }}DAO類:package 。 ()。 }catch(Exception e){ (執(zhí)行更新過程中出現(xiàn)異常)。 }else{ (msg,更新失敗)。 ((Sps))。 ((Spc))。 (((Sage)))。 ((Sname))。 // 默認讓其跳轉(zhuǎn)到錯誤的處理頁 try{ Staff staff=new Staff()。 } (pages).forward(req, resp)。 ()。 } pages=。 if(new StaffDAO(new DatabaseConnection().getConnection()).doDelete(Sno)){ (msg,刪除成功)。 } public void delete(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException { /** delete(HttpServletRequest req, HttpServletResponse resp)方法 * 用于調(diào)用DAO完成刪除一條部門信息的操作,若中間出現(xiàn)任何異常,都會拋出 * */ String pages = ../。 ()。 }catch(Exception e){ (執(zhí)行插入過程中出現(xiàn)異常)。 }else{ (msg,插入失敗)。 ((Sps))。 ((Spc))。 (((Sage)))。 ((Sname))。 // 默認讓其跳轉(zhuǎn)到錯誤的處理頁 try{ Staff staff=new Staff()。 } (pages).forward(req, resp)。 ()。 pages=。 (nextPage, ())。 (firstPage, ())。 (pageCount, ())。 ((), currentPage)。 int currentPage=1。 // 默認讓其跳轉(zhuǎn)到錯誤的處理頁 try{ StaffDAO sdao=new StaffDAO(new DatabaseConnection().getConnection())。 } } public void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException { /** doPost(HttpServletRequest request,HttpServletResponse response)方法 * 用于處理用戶的Post請求,根據(jù)用戶的要求執(zhí)行相應(yīng)的操作 * doPost()方法和doGet()方法做相同的操作,不再重復(fù)寫代碼了 * */ (req, resp)。 } if (delete.equals(status)) { (req, resp)。 } if (insert.equals(status)) { (req, resp)。 // 默認讓其跳轉(zhuǎn)到錯誤的處理頁 String status = (status)。 (GBK)。import 。import 。import 。import 。import 。 } } catch (Exception e) { ()。 } //測試刪除 try { if(new StaffDAO(new DatabaseConnection().getConnection()).doDelete(10)){ (delete ok)。 i++。 (())。 (())。 (())。 (())。 int i=0。 } //查找所有 try { ListStaff all=new StaffDAO(new DatabaseConnection().getConnection()).findAll()。 (())。 (())。 (())。 (())。 try { staff=new StaffDAO(new DatabaseConnection().getConnection()).findById(10)。 } } catch (Exception e) { ()。 try { if(new St
點擊復(fù)制文檔內(nèi)容
公司管理相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1