📄 __register.java
字号:
/* compiled from JSP: /register.jsp
*
* This code was automatically generated at 11:45:40 on 2004-4-25
* by weblogic.servlet.jsp.Jsp2Java -- do not edit.
*/
package jsp_servlet;
import java.io.*;
import java.util.*;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import javax.servlet.jsp.tagext.*;
// User imports
// built-in init parameters:
// boolean _verbose -- wants debugging
// Well-known variables:
// JspWriter out -- to write to the browser
// HttpServletRequest request -- the request object.
// HttpServletResponse response -- the response object.
// PageContext pageContext -- the page context for this JSP
// HttpSession session -- the session object for the client (if any)
// ServletContext application -- The servlet (application) context
// ServletConfig config -- The ServletConfig for this JSP
// Object page -- the instance of this page's implementation class (i.e., 'this')
/**
* This code was automatically generated at 11:45:40 on 2004-4-25
* by weblogic.servlet.jsp.Jsp2Java -- do not edit.
*
* Copyright (c) 2004 by BEA Systems, Inc. All Rights Reserved.
*/
public final class __register
extends
weblogic.servlet.jsp.JspBase
implements weblogic.servlet.jsp.StaleIndicator
{
// StaleIndicator interface public boolean _isStale() { weblogic.servlet.jsp.StaleChecker sci =(weblogic.servlet.jsp.StaleChecker)(getServletConfig().getServletContext()); java.io.File f = null; long lastModWhenBuilt = 0L; if (sci.isResourceStale("/register.jsp", 1082819916890L, "8.1.1.0")) return true; return false; } public static boolean _staticIsStale(weblogic.servlet.jsp.StaleChecker sci) { java.io.File f = null; long lastModWhenBuilt = 0L; if (sci.isResourceStale("/register.jsp", 1082819916890L, "8.1.1.0")) return true; return false; } private static void _writeText(ServletResponse rsp, JspWriter out, String block, byte[] blockBytes) throws IOException { if (!_WL_ENCODED_BYTES_OK || _hasEncodingChanged(rsp)) { out.print(block); } else { ((weblogic.servlet.jsp.ByteWriter)out).write(blockBytes, block); } } private static boolean _hasEncodingChanged(ServletResponse rsp) { if (_WL_ORIGINAL_ENCODING.equals(rsp.getCharacterEncoding())) { return false; } return true; } private static boolean _WL_ENCODED_BYTES_OK = true; private static final String _WL_ORIGINAL_ENCODING = "GBK"; private static byte[] _getBytes(String block) { try { return block.getBytes(_WL_ORIGINAL_ENCODING); } catch (java.io.UnsupportedEncodingException u) { _WL_ENCODED_BYTES_OK = false; } return null; } private final static String _wl_block0 = "\r\n<html>\r\n<head>\r\n<title>\r\n用户注册\r\n</title>\r\n</head>\r\n<body bgcolor=\"#ffffff\" text=\"#000000\" leftmargin=\"0\" topmargin=\"2\">\r\n<table width=\"710\" border=\"0\" cellspacing=\"3\" cellpadding=\"0\" align=\"center\">\r\n<tr>\r\n <td height=\"402\" valign=\"top\">\r\n\t<form name=\"frmReg\" method=\"post\" action=\"regservlet\">\r\n\t 用户名 <input type=\"text\" name=\"account\">*\r\n\t <br>\r\n\t 密码 <input type=\"password\" name=\"password\">*\r\n\t <br>\r\n\t 确认密码 <input type=\"password\" name=\"repassword\">*\r\n\t <br>\r\n\t 真实姓名 <input type=\"text\" name=\"name\">*\r\n <br>\r\n\t 性别 <select size=\"1\" name=\"sexual\">\r\n\t\t<option value=\"1\">男</option>\r\n\t\t<option value=\"0\">女</option>\r\n </select>\r\n <br>\r\n\t 生日 <select name=\"birth_year\">\r\n\t "; private final static byte[] _wl_block0Bytes = _getBytes(_wl_block0); private final static String _wl_block1 = "\r\n\t\t <option value="; private final static byte[] _wl_block1Bytes = _getBytes(_wl_block1); private final static String _wl_block2 = " "; private final static byte[] _wl_block2Bytes = _getBytes(_wl_block2); private final static String _wl_block3 = " selected"; private final static byte[] _wl_block3Bytes = _getBytes(_wl_block3); private final static String _wl_block4 = ">"; private final static byte[] _wl_block4Bytes = _getBytes(_wl_block4); private final static String _wl_block5 = "</option>\r\n\t\t "; private final static byte[] _wl_block5Bytes = _getBytes(_wl_block5); private final static String _wl_block6 = "\r\n\t </select>年\r\n\t <select name=\"birth_month\">\r\n "; private final static byte[] _wl_block6Bytes = _getBytes(_wl_block6); private final static String _wl_block7 = "\r\n <option value="; private final static byte[] _wl_block7Bytes = _getBytes(_wl_block7); private final static String _wl_block8 = "selected "; private final static byte[] _wl_block8Bytes = _getBytes(_wl_block8); private final static String _wl_block9 = ">"; private final static byte[] _wl_block9Bytes = _getBytes(_wl_block9); private final static String _wl_block10 = "</option>\r\n "; private final static byte[] _wl_block10Bytes = _getBytes(_wl_block10); private final static String _wl_block11 = "\r\n\t </select>月\r\n\t <select name=\"birth_day\">\r\n\t\t "; private final static byte[] _wl_block11Bytes = _getBytes(_wl_block11); private final static String _wl_block12 = "\r\n <option value="; private final static byte[] _wl_block12Bytes = _getBytes(_wl_block12); private final static String _wl_block13 = " "; private final static byte[] _wl_block13Bytes = _getBytes(_wl_block13); private final static String _wl_block14 = "selected"; private final static byte[] _wl_block14Bytes = _getBytes(_wl_block14); private final static String _wl_block15 = ">"; private final static byte[] _wl_block15Bytes = _getBytes(_wl_block15); private final static String _wl_block16 = "</option>\r\n "; private final static byte[] _wl_block16Bytes = _getBytes(_wl_block16); private final static String _wl_block17 = "\r\n\t </select>日\r\n\t <br>\r\n\t 身份证号 <input type=\"text\" name=\"iDCardNum\">\r\n\t <br>\r\n 城市 <input type=\"text\" name=\"city\">\r\n\t <br>\r\n 职业 <select size=\"1\" name=\"profession\">\r\n\t \t<option value=\"计算机业\" selected>计算机业</option>\r\n\t\t<option value=\"金融业\">金融业</option>\r\n\t\t<option value=\"商业\">商业</option>\r\n\t\t<option value=\"教育业\">教育业</option>\r\n\t </select>\r\n\t <br>\r\n 地址 <input type=\"text\" name=\"address\">*\r\n\t <br>\r\n 邮编 <input type=\"text\" name=\"zip\">*\r\n\t <br>\r\n\t 电话 <input type=\"text\" name=\"phone\">*\r\n\t <br>\r\n\t EMail <input type=\"text\" name=\"eMail\">*\r\n <br>\r\n\t <input type=\"hidden\" name=\"requestFrom\" value=\"register\">\r\n\t <input type=\"submit\" name=\"submit\" value=\"注册\">\r\n <input type=\"reset\" name=\"reset\" value=\"重写\">\r\n </form>\r\n </td>\r\n</tr>\r\n</table>\r\n</body>\r\n</html>\r\n"; private final static byte[] _wl_block17Bytes = _getBytes(_wl_block17);
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); for(int i=1900;i<=2000;i++) //[ /register.jsp; Line: 27] { //[ /register.jsp; Line: 28] //[ /register.jsp; Line: 28] _writeText(response, out, _wl_block1, _wl_block1Bytes); out.print(String.valueOf(i)); //[ /register.jsp; Line: 29] _writeText(response, out, _wl_block2, _wl_block2Bytes); if(i==1980) { //[ /register.jsp; Line: 29] //[ /register.jsp; Line: 29] _writeText(response, out, _wl_block3, _wl_block3Bytes); } //[ /register.jsp; Line: 29] //[ /register.jsp; Line: 29] _writeText(response, out, _wl_block4, _wl_block4Bytes); out.print(String.valueOf(i)); //[ /register.jsp; Line: 29] _writeText(response, out, _wl_block5, _wl_block5Bytes); } //[ /register.jsp; Line: 30] //[ /register.jsp; Line: 30] _writeText(response, out, _wl_block6, _wl_block6Bytes); for(int j=1;j<=12;j++) //[ /register.jsp; Line: 33] { //[ /register.jsp; Line: 34] //[ /register.jsp; Line: 34] _writeText(response, out, _wl_block7, _wl_block7Bytes); out.print(String.valueOf(j)); //[ /register.jsp; Line: 35] if(j==6) { //[ /register.jsp; Line: 35] //[ /register.jsp; Line: 35] _writeText(response, out, _wl_block8, _wl_block8Bytes); } //[ /register.jsp; Line: 35] //[ /register.jsp; Line: 35] _writeText(response, out, _wl_block9, _wl_block9Bytes); out.print(String.valueOf(j)); //[ /register.jsp; Line: 35] _writeText(response, out, _wl_block10, _wl_block10Bytes); } //[ /register.jsp; Line: 36] //[ /register.jsp; Line: 36] _writeText(response, out, _wl_block11, _wl_block11Bytes); for(int k=1;k<=31;k++) //[ /register.jsp; Line: 39] { //[ /register.jsp; Line: 40] //[ /register.jsp; Line: 40] _writeText(response, out, _wl_block12, _wl_block12Bytes); out.print(String.valueOf(k)); //[ /register.jsp; Line: 41] _writeText(response, out, _wl_block13, _wl_block13Bytes); if(k==9) { //[ /register.jsp; Line: 41] //[ /register.jsp; Line: 41] _writeText(response, out, _wl_block14, _wl_block14Bytes); } //[ /register.jsp; Line: 41] //[ /register.jsp; Line: 41] _writeText(response, out, _wl_block15, _wl_block15Bytes); out.print(String.valueOf(k)); //[ /register.jsp; Line: 41] _writeText(response, out, _wl_block16, _wl_block16Bytes); } //[ /register.jsp; Line: 42] //[ /register.jsp; Line: 42] _writeText(response, out, _wl_block17, _wl_block17Bytes); } catch (Throwable __ee) { while (out != null && out != _originalOut) out = pageContext.popBody(); ((weblogic.servlet.jsp.PageContextImpl)pageContext).handlePageException((Throwable)__ee); }
//before final close brace...
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -