?? __yonghuguanlichuli.java
字號:
private final static byte[] _wl_block26Bytes = _getBytes(_wl_block26); private final static String _wl_block27 = "</h4><a href=\"yonghuguanli.jsp\">點擊返回上一頁面</a>\r\n "; private final static byte[] _wl_block27Bytes = _getBytes(_wl_block27); private final static String _wl_block28 = "系統(tǒng)出錯了,非法用戶名,可進入數(shù)據(jù)庫進行解決<br/>\r\n<a href=\"yonghuguanli.jsp\">點擊返回上一頁面</a>"; private final static byte[] _wl_block28Bytes = _getBytes(_wl_block28); private final static String _wl_block29 = "\r\n</body>\r\n</html>\r\n"; private final static byte[] _wl_block29Bytes = _getBytes(_wl_block29);
public void _jspService(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.io.IOException, javax.servlet.ServletException
{
// declare and set well-known variables:
javax.servlet.ServletConfig config = getServletConfig();
javax.servlet.ServletContext application = config.getServletContext();
javax.servlet.jsp.tagext.Tag _activeTag = null;
// variables for Tag extension protocol
Object page = this;
javax.servlet.jsp.JspWriter out;
javax.servlet.jsp.PageContext pageContext = javax.servlet.jsp.JspFactory.getDefaultFactory().getPageContext(this, request, response, null, true, 8192, true);
response.setHeader("Content-Type", "text/html; charset=GBK"); out = pageContext.getOut(); JspWriter _originalOut = out;
javax.servlet.http.HttpSession session = request.getSession(true);
try { // error page try block response.setContentType("text/html; charset=GBK"); _writeText(response, out, _wl_block0, _wl_block0Bytes); JavaBean.UserBean user = null; //[ /yonghuguanlichuli.jsp; Line: 2] user = (JavaBean.UserBean)pageContext.getAttribute("user"); //[ /yonghuguanlichuli.jsp; Line: 2] if (user == null) { // begin 'user' instantiation block... //[ /yonghuguanlichuli.jsp; Line: 2] { // Don't need to synchronize on page scope //[ /yonghuguanlichuli.jsp; Line: 2] user = (JavaBean.UserBean)pageContext.getAttribute("user"); //[ /yonghuguanlichuli.jsp; Line: 2] if (user == null) { // begin 'user' synchronized instantiation block... //[ /yonghuguanlichuli.jsp; Line: 2] user = new JavaBean.UserBean(); //[ /yonghuguanlichuli.jsp; Line: 2] pageContext.setAttribute("user", user); //[ /yonghuguanlichuli.jsp; Line: 2] _writeText(response, out, _wl_block1, _wl_block1Bytes); } // end synchronized bean instantiation block... //[ /yonghuguanlichuli.jsp; Line: 3] } // end synchronized bean scope block... //[ /yonghuguanlichuli.jsp; Line: 3] } // end bean instantiation block... //[ /yonghuguanlichuli.jsp; Line: 3] _writeText(response, out, _wl_block2, _wl_block2Bytes); JavaBean.GouWuCheBean gouwu = null; //[ /yonghuguanlichuli.jsp; Line: 4] gouwu = (JavaBean.GouWuCheBean)pageContext.getAttribute("gouwu"); //[ /yonghuguanlichuli.jsp; Line: 4] if (gouwu == null) { // begin 'gouwu' instantiation block... //[ /yonghuguanlichuli.jsp; Line: 4] { // Don't need to synchronize on page scope //[ /yonghuguanlichuli.jsp; Line: 4] gouwu = (JavaBean.GouWuCheBean)pageContext.getAttribute("gouwu"); //[ /yonghuguanlichuli.jsp; Line: 4] if (gouwu == null) { // begin 'gouwu' synchronized instantiation block... //[ /yonghuguanlichuli.jsp; Line: 4] gouwu = new JavaBean.GouWuCheBean(); //[ /yonghuguanlichuli.jsp; Line: 4] pageContext.setAttribute("gouwu", gouwu); //[ /yonghuguanlichuli.jsp; Line: 4] _writeText(response, out, _wl_block3, _wl_block3Bytes); } // end synchronized bean instantiation block... //[ /yonghuguanlichuli.jsp; Line: 5] } // end synchronized bean scope block... //[ /yonghuguanlichuli.jsp; Line: 5] } // end bean instantiation block... //[ /yonghuguanlichuli.jsp; Line: 5] _writeText(response, out, _wl_block4, _wl_block4Bytes); _writeText(response, out, _wl_block5, _wl_block5Bytes); _writeText(response, out, _wl_block6, _wl_block6Bytes); //[ /yonghuguanlichuli.jsp; Line: 8] String userCode=request.getParameter("userCode"); //[ /yonghuguanlichuli.jsp; Line: 9] String userName=request.getParameter("userName"); //[ /yonghuguanlichuli.jsp; Line: 10] String userPW=request.getParameter("userPW"); //[ /yonghuguanlichuli.jsp; Line: 11] String shenFenZheng=request.getParameter("shenFenZheng"); //[ /yonghuguanlichuli.jsp; Line: 12] String telephone=request.getParameter("telephone"); //[ /yonghuguanlichuli.jsp; Line: 13] String address=request.getParameter("address"); //[ /yonghuguanlichuli.jsp; Line: 14] String youZhengBianMa=request.getParameter("youZhengBianMa"); //[ /yonghuguanlichuli.jsp; Line: 15] String email=request.getParameter("email"); //[ /yonghuguanlichuli.jsp; Line: 16] String Submit= new String(request.getParameter("Submit").getBytes("8859_1")); //[ /yonghuguanlichuli.jsp; Line: 17] String zhuanhuan; //[ /yonghuguanlichuli.jsp; Line: 18] Iterator it=gouwu.selectForUserCode(userCode).iterator(); //[ /yonghuguanlichuli.jsp; Line: 19] //[ /yonghuguanlichuli.jsp; Line: 19] _writeText(response, out, _wl_block7, _wl_block7Bytes); if(Submit.equals("修改")){ //[ /yonghuguanlichuli.jsp; Line: 28] //[ /yonghuguanlichuli.jsp; Line: 28] _writeText(response, out, _wl_block8, _wl_block8Bytes); if(user.xiugai(userCode,userName,userPW,shenFenZheng,telephone,address,youZhengBianMa,email)){ //[ /yonghuguanlichuli.jsp; Line: 29] //[ /yonghuguanlichuli.jsp; Line: 29] _writeText(response, out, _wl_block9, _wl_block9Bytes); out.print(String.valueOf(userCode)); //[ /yonghuguanlichuli.jsp; Line: 31] _writeText(response, out, _wl_block10, _wl_block10Bytes); out.print(String.valueOf(userCode)); //[ /yonghuguanlichuli.jsp; Line: 32] _writeText(response, out, _wl_block11, _wl_block11Bytes); out.print(String.valueOf(zhuanhuan=new String(userName.getBytes("8859_1")))); //[ /yonghuguanlichuli.jsp; Line: 33] _writeText(response, out, _wl_block12, _wl_block12Bytes); out.print(String.valueOf(userPW)); //[ /yonghuguanlichuli.jsp; Line: 34] _writeText(response, out, _wl_block13, _wl_block13Bytes); out.print(String.valueOf(shenFenZheng)); //[ /yonghuguanlichuli.jsp; Line: 35] _writeText(response, out, _wl_block14, _wl_block14Bytes); out.print(String.valueOf(telephone)); //[ /yonghuguanlichuli.jsp; Line: 36] _writeText(response, out, _wl_block15, _wl_block15Bytes); out.print(String.valueOf(zhuanhuan=new String(address.getBytes("8859_1")))); //[ /yonghuguanlichuli.jsp; Line: 37] _writeText(response, out, _wl_block16, _wl_block16Bytes); out.print(String.valueOf(youZhengBianMa)); //[ /yonghuguanlichuli.jsp; Line: 38] _writeText(response, out, _wl_block17, _wl_block17Bytes); out.print(String.valueOf(email)); //[ /yonghuguanlichuli.jsp; Line: 39] _writeText(response, out, _wl_block18, _wl_block18Bytes); }else{ //[ /yonghuguanlichuli.jsp; Line: 41] //[ /yonghuguanlichuli.jsp; Line: 41] _writeText(response, out, _wl_block19, _wl_block19Bytes); }}else{if(it.hasNext()){ //[ /yonghuguanlichuli.jsp; Line: 47] //[ /yonghuguanlichuli.jsp; Line: 47] _writeText(response, out, _wl_block20, _wl_block20Bytes); out.print(String.valueOf(userCode)); //[ /yonghuguanlichuli.jsp; Line: 48] _writeText(response, out, _wl_block21, _wl_block21Bytes); out.print(String.valueOf(userCode)); //[ /yonghuguanlichuli.jsp; Line: 49] _writeText(response, out, _wl_block22, _wl_block22Bytes); while(it.hasNext()){GouWuCheInfoVo vo=(GouWuCheInfoVo)it.next(); //[ /yonghuguanlichuli.jsp; Line: 50] //[ /yonghuguanlichuli.jsp; Line: 50] _writeText(response, out, _wl_block23, _wl_block23Bytes); out.print(String.valueOf(vo.getDingDanHao())); //[ /yonghuguanlichuli.jsp; Line: 51] _writeText(response, out, _wl_block24, _wl_block24Bytes); }}else{ //[ /yonghuguanlichuli.jsp; Line: 52] //[ /yonghuguanlichuli.jsp; Line: 52] _writeText(response, out, _wl_block25, _wl_block25Bytes); if(user.delete(userCode)){ //[ /yonghuguanlichuli.jsp; Line: 53] //[ /yonghuguanlichuli.jsp; Line: 53] _writeText(response, out, _wl_block26, _wl_block26Bytes); out.print(String.valueOf(userCode)); //[ /yonghuguanlichuli.jsp; Line: 53] _writeText(response, out, _wl_block27, _wl_block27Bytes); }else{ //[ /yonghuguanlichuli.jsp; Line: 54] //[ /yonghuguanlichuli.jsp; Line: 54] _writeText(response, out, _wl_block28, _wl_block28Bytes); }}} //[ /yonghuguanlichuli.jsp; Line: 55] //[ /yonghuguanlichuli.jsp; Line: 55] _writeText(response, out, _wl_block29, _wl_block29Bytes); } catch (Throwable __ee) { while (out != null && out != _originalOut) out = pageContext.popBody(); ((weblogic.servlet.jsp.PageContextImpl)pageContext).handlePageException((Throwable)__ee); }
//before final close brace...
}
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -