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

正文內(nèi)容

高校教職工信息管理系統(tǒng)(已改無(wú)錯(cuò)字)

2023-01-28 18:11:06 本頁(yè)面
  

【正文】 。 在 中配置: filter filternameSetCharacterEncodingFilter/filtername filterclass/filterclass initparam paramnameencoding/paramname paramvaluegb2312/paramvalue /initparam /filter filtermapping filternameSetCharacterEncodingFilter/filtername urlpattern/*/urlpattern//*表示工程下所有的頁(yè)面都會(huì)有此過濾器的處理 /filtermapping 對(duì)應(yīng)的 ,在初始化 init()方法中定義: public void init(FilterConfig filterConfig) throws ServletException { = filterConfig。 = (encoding)。 String value = (ignore)。 } 高校教職工信息管理系統(tǒng) 在工具包 util包中同樣定義了 DataFormate類來(lái)處理字符轉(zhuǎn)換: public static String toUni(String gbStr){ String uniStr = 。 /*把字符串轉(zhuǎn)換成 uincode編碼 */ if(gbStr == null){ gbStr = 。 } try{ byte[] tempByte = (GB2312)。 uniStr = new String(tempByte,ISO8859_1)。 }catch(Exception ex){ } return uniStr。 } /* 把字符串轉(zhuǎn)換成 Utf8編碼 */ public static String toUtf8String(String s) { StringBuffer sb = new StringBuffer()。 for (int i = 0。 i ()。 i++) { char c = (i)。 if (c = 0 amp。amp。 c = 255) { (c)。 } else { byte[] b。 try { b = (c).getBytes(utf8)。 }catch (Exception ex) { (ex)。 b = new byte[0]。 } for (int j = 0。 j 。 j++) { int k = b[j]。 if (k 0) { k += 256。 } (% + (k). toUpperCase())。 } } return ()。 } 高校教職工信息管理系統(tǒng) 第四章 系統(tǒng)功能實(shí)現(xiàn) 在管理信息系統(tǒng)的生命周期中,僅過了需求分析、 系統(tǒng) 設(shè)計(jì)等階段之后,便開始了系統(tǒng)實(shí)施階段。在系統(tǒng)分析和設(shè)計(jì)階段,系統(tǒng)開發(fā)工作主要是集中在邏輯、功能和技術(shù)設(shè)計(jì)上,系統(tǒng)實(shí)施階段要繼承此前 面各個(gè) 階段的工作成果,將技術(shù)設(shè)計(jì)轉(zhuǎn)化為物理實(shí)現(xiàn),因此系統(tǒng)實(shí)施的成果是系統(tǒng)分析和設(shè)計(jì)階段的結(jié)晶。 系統(tǒng) 登陸頁(yè) : 為了保證系統(tǒng)的安全性,要先使用本系統(tǒng)必須先登陸到系統(tǒng)中 。 所示: 圖 系統(tǒng) 登陸 頁(yè)面設(shè)計(jì) 用戶名和密碼以 ,選擇登陸身份后 , 點(diǎn)擊提交按鈕,跳轉(zhuǎn)到登陸的 service 中, 在 該 service 中會(huì)對(duì)用戶名,密碼,驗(yàn)證碼進(jìn)行判斷,并根據(jù)相應(yīng)的用戶角色進(jìn)入對(duì)應(yīng)的頁(yè)面, loginservice 關(guān)鍵代 碼: public String login(String userName,String userPw,int userType) { try { (700)。 } catch (InterruptedException e) { // TODO Autogenerated catch block 高校教職工信息管理系統(tǒng) ()。 } String result=no。 if(userType==0)//系統(tǒng)管 理員登陸 { String sql=from TAdmin where userName=? and userPw=?。 Object[] con={userName,userPw}。 List adminList=().find(sql,con)。 if(()==0) { result=no。 } else { WebContext ctx = ()。 HttpSession session=()。 TAdmin admin=(TAdmin)(0)。 (userType, 0)。 (admin, admin)。 result=yes。 } } if(userType==1) { } if(userType==2) { } return result。 } 系統(tǒng)主頁(yè) 面 :管理員主頁(yè)面:左方頁(yè)面展示了管理員可操作的 七 大功能,進(jìn)入相關(guān)的管理頁(yè)面可以鏈接到子菜單,并且高亮顯示,每個(gè)管理模塊下面都有相應(yīng)的子菜單。 所示: 高校教職工信息管理系統(tǒng) 圖 在每個(gè) jsp 頁(yè)面將會(huì)對(duì)相關(guān)用戶進(jìn)行攔截操作,這樣可以提高安全性,防止用戶不經(jīng)過登陸頁(yè)面而進(jìn)入任何子菜單頁(yè)面: if((user)==null) { (scriptalert(39。請(qǐng)先登錄!39。)。(39。../39。,39。_self39。)/script)。 } 教職工信息管理 教職工 錄入 1. 描述:管理員輸入 教職工 相關(guān)正確信息后點(diǎn)擊錄入按鈕,如果是沒有輸入完整的信息,都會(huì)給出相應(yīng)的錯(cuò)誤提示,不能錄入成功。輸入數(shù)據(jù)都通過 form 表單中定義的方法 onsubmit=return checkForm()來(lái)檢查, checkForm()函數(shù)中是各種的校驗(yàn)輸入數(shù)據(jù)的方式。 2. 程序效果圖如下圖 所示: 高校教職工信息管理系統(tǒng) 圖 教職工 息錄入 所示: 圖 教職工 錄入 流程圖 管理員錄入 教職工 信息 系統(tǒng)驗(yàn)證 教職工 信息 錄入成功 結(jié) 束 通過 未通過 登陸系統(tǒng) 高校教職工信息管理系統(tǒng) 教職工 管理 : 管理員點(diǎn)擊左側(cè)的菜單“ 教職工 管理” , 頁(yè)面跳轉(zhuǎn)到 做 教職工 界面,調(diào)用后臺(tái)的 servlet 類 查詢所有 教職工 的信息 。 所示 圖 教職工 管理 界面 教職工 管理關(guān)鍵代碼: public void jihuayuanAdd(HttpServletRequest req,HttpServletResponse res) public void jiaoshiDel(HttpServletRequest req,HttpServletResponse res) { int id = ((id))。 String del = yes。 String sql = update t_jiaoshi set del=? where id=?。 Object[] params={del,id}。 DB mydb=new DB()。 (sql, params)。 ()。 (message, 教師信息刪除成功 !)。 (path, jiaoshi?type=jiaoshiMana)。 String targetURL = /mon/。 dispatch(targetURL, req, res)。 } public void jiaoshiUpd(HttpServletRequest req,HttpServletResponse res) { int id = ((id))。 String gonghao = (gonghao)。 String xingming = (xingming)。 String xingbie = (xingbie)。 String nianling = (nianling)。 String shengri = (shengri)。 高校教職工信息管理系統(tǒng) String gongzuo = (gongzuo)。 String zhuanye = (zhuanye)。 String zhaopian = (zhaopian)。 String beizhu = (beizhu)。 String sql = update t_jiaoshi set gonghao=?,xingming=?,xingbie=?,nianling=?,shengri=?,gongzuo=?,zhuanye=?,zhaopian=?,beizhu=? where id=?。 Object[] params={gonghao,xingming,xingbie,nianling,shengri,gongzuo,zhuanye,zhaopian,beizhu,id}。 DB mydb=new DB()。 (sql, params)。 ()。 (message, 教師信息修改成功 !)。 (path, jiaoshi?type=jiaoshiMana)。 String targetURL = /mon/。 dispatch(targetURL, req, res)。 } public void jiaoshiAdd(HttpServletRequest req,HttpServletResponse res) { String gonghao = (gonghao)。 String xingming = (xingming)。 String xingbie = (xingbie)。 String nianling = (nianling)。 String shengri = (shengri)。 String gongzuo = (gongzuo)。 String zhuanye = (zhuanye)。 String zhaopian = (zhaopian)。 String beizhu = (beizhu)。 String del = no。 String sql = insert into t_jiaoshi (gonghao,xingming,xingbie,nianling,shengri,gongzuo,zhuanye,zhaopian,beizhu,del) + values (?,?,?,?,?,?,?,?,?,?)。 Object[] params={gonghao,xingming,xingbie,nianling,shengri,gongzuo,zhuanye,zhaopian,beizhu,del}。 高校教職工信息管理系統(tǒng) DB mydb=new DB()。 (sql, params)。
點(diǎn)擊復(fù)制文檔內(nèi)容
環(huán)評(píng)公示相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖片鄂ICP備17016276號(hào)-1