📄 _registry__jsp.java
字号:
user.setUserHomepagename(hpname);user.setUserSex(usersex);user.setUserComefrom(comefrom);user.setUserClass(userclass);user.setUserSign(usersign);user.registryNewUser();
pageContext.write(_jsp_string5, 0, _jsp_string5.length);
out.print((username));
pageContext.write(_jsp_string6, 0, _jsp_string6.length);
out.print((userpassword));
pageContext.write(_jsp_string7, 0, _jsp_string7.length);
out.print((useremail));
pageContext.write(_jsp_string8, 0, _jsp_string8.length);
out.print((userhomepage));
pageContext.write(_jsp_string9, 0, _jsp_string9.length);
out.print((hpname));
pageContext.write(_jsp_string10, 0, _jsp_string10.length);
out.print((userbirthday));
pageContext.write(_jsp_string11, 0, _jsp_string11.length);
out.print((usersex));
pageContext.write(_jsp_string12, 0, _jsp_string12.length);
out.print((comefrom));
pageContext.write(_jsp_string13, 0, _jsp_string13.length);
out.print((dateandtime));
pageContext.write(_jsp_string14, 0, _jsp_string14.length);
out.print((userclass));
pageContext.write(_jsp_string15, 0, _jsp_string15.length);
out.print((usersign));
pageContext.write(_jsp_string16, 0, _jsp_string16.length);
} //else}//if (B1!=null)
pageContext.write(_jsp_string17, 0, _jsp_string17.length);
} catch (java.lang.Throwable _jsp_e) {
pageContext.handlePageException(_jsp_e);
} finally {
JspFactory.getDefaultFactory().releasePageContext(pageContext);
}
}
private com.caucho.java.LineMap _caucho_line_map;
private java.util.ArrayList _caucho_depends = new java.util.ArrayList();
public boolean _caucho_isModified()
{
if (_caucho_isDead)
return true;
if (com.caucho.util.CauchoSystem.getVersionId() != 2058990000)
return true;
for (int i = _caucho_depends.size() - 1; i >= 0; i--) {
com.caucho.vfs.Depend depend;
depend = (com.caucho.vfs.Depend) _caucho_depends.get(i);
if (depend.isModified())
return true;
}
return false;
}
public long _caucho_lastModified()
{
return 0;
}
public com.caucho.java.LineMap _caucho_getLineMap()
{
return _caucho_line_map;
}
public void destroy()
{
_caucho_isDead = true;
super.destroy();
}
public void init(com.caucho.java.LineMap lineMap,
com.caucho.vfs.Path appDir)
throws javax.servlet.ServletException
{
com.caucho.vfs.Path resinHome = com.caucho.util.CauchoSystem.getResinHome();
com.caucho.vfs.MergePath mergePath = new com.caucho.vfs.MergePath();
mergePath.addMergePath(appDir);
mergePath.addMergePath(resinHome);
mergePath.addClassPath(getClass().getClassLoader());
_caucho_line_map = new com.caucho.java.LineMap("_registry__jsp.java", "d:\\guestbook\\jsp-access\\registry.jsp");
_caucho_line_map.add("/registry.jsp", 1, 1);
_caucho_line_map.add("/incdb.jsp", 2, 1);
_caucho_line_map.add("d:\\guestbook\\jsp-access\\registry.jsp", 3, 1);
_caucho_line_map.add("/registry.jsp", 1, 36);
_caucho_line_map.add("/incdb.jsp", 2, 38);
_caucho_line_map.add("d:\\guestbook\\jsp-access\\registry.jsp", 3, 44);
_caucho_line_map.add(5, 52);
_caucho_line_map.add(151, 72);
_caucho_line_map.add(214, 156);
_caucho_line_map.add(241, 188);
_caucho_line_map.add(245, 190);
_caucho_line_map.add(249, 192);
_caucho_line_map.add(253, 194);
_caucho_line_map.add(257, 196);
_caucho_line_map.add(261, 198);
_caucho_line_map.add(265, 200);
_caucho_line_map.add(269, 202);
_caucho_line_map.add(273, 204);
_caucho_line_map.add(277, 206);
_caucho_line_map.add(284, 208);
_caucho_line_map.add(298, 210);
com.caucho.vfs.Depend depend;
depend = new com.caucho.vfs.Depend(mergePath.lookup("file:/d:/guestbook/jsp-access/incdb.jsp"), 972283860000L, 251L);
_caucho_depends.add(depend);
depend = new com.caucho.vfs.Depend(mergePath.lookup("file:/d:/guestbook/jsp-access/registry.jsp"), 1006568360000L, 14427L);
_caucho_depends.add(depend);
}
private static byte []_jsp_string10;
private static byte []_jsp_string13;
private static byte []_jsp_string6;
private static byte []_jsp_string3;
private static byte []_jsp_string9;
private static byte []_jsp_string7;
private static byte []_jsp_string1;
private static byte []_jsp_string4;
private static byte []_jsp_string16;
private static byte []_jsp_string17;
private static byte []_jsp_string0;
private static byte []_jsp_string15;
private static byte []_jsp_string2;
private static byte []_jsp_string5;
private static byte []_jsp_string12;
private static byte []_jsp_string8;
private static byte []_jsp_string11;
private static byte []_jsp_string14;
static {
try {
_jsp_string10 = "</td> \r\n </tr> \r\n <tr> \r\n <td width=\"200\" align=\"right\">birthday:</td>\r\n <td width=\"300\">".getBytes("GB2312");
_jsp_string13 = "</td> \r\n </tr> \r\n <tr> \r\n <td width=\"200\" align=\"right\">jointime:</td>\r\n <td width=\"300\">".getBytes("GB2312");
_jsp_string6 = "</td> \r\n </tr> \r\n <tr> \r\n <td width=\"200\" align=\"right\">密码:</td> \r\n <td width=\"300\">".getBytes("GB2312");
_jsp_string3 = "\r\n<html>\r\n\r\n<head>\r\n<title>用户注册</title>\r\n<link rel=\"stylesheet\" type=\"text/css\" href=\"css/css02.css\">\r\n\r\n</head>\r\n\r\n<body>\r\n\r\n<script Language=\"JavaScript\">\r\n<!--\r\nfunction isspacestring(mystring)\r\n{ var istring=mystring;\r\n var temp,i,strlen;\r\n temp=true;\r\n strlen=istring.length;\r\n for (i=0;i<strlen;i++)\r\n {\r\n if ((istring.substring(i,i+1)!=\" \")&(temp))\r\n { temp=false; }\r\n }\r\n return temp;\r\n}\r\n\r\nfunction firstisspace(mystring)\r\n{ var istring=mystring;\r\n var temp,i,strlen;\r\n temp=false;\r\n if (istring.substring(0,1)==\" \")\r\n { temp=true; }\r\n return temp;\r\n}\r\n\r\n\r\n\r\n\r\nfunction isemail(mystring)\r\n{\r\n var istring=mystring;\r\n var atpos=mystring.indexOf(\"@\");\r\n var temp=true;\r\n if (atpos==-1) //email中没有@符号;不正确的EMAIL\r\n {\r\n temp=false;\r\n }\r\n return temp;\r\n}\r\n\r\nfunction check_input(theForm)\r\n{\r\n\r\n if ((theForm.username.value == \"\")|(firstisspace(theForm.username.value)))\r\n {\r\n alert(\"请输入用户名.不能以空格开头\");\r\n theForm.username.focus();\r\n return (false);\r\n }\r\n \r\n if (theForm.username.value.length > 20)\r\n {\r\n alert(\"用户名长度应小于20个字符或数字.\");\r\n theForm.username.focus();\r\n return (false);\r\n }\r\n\r\n if ((theForm.userpassword.value == \"\")|(isspacestring(theForm.userpassword.value)))\r\n {\r\n alert(\"请输入密码.\");\r\n theForm.userpassword.focus();\r\n return (false);\r\n }\r\n\r\n if (theForm.userpassword.value.length > 10)\r\n {\r\n alert(\"密码长度应小于10.\");\r\n theForm.user_password.focus();\r\n return (false);\r\n }\r\n\r\n if (theForm.userpassword.value != theForm.userpassword2.value)\r\n {\r\n alert(\"两次密码不相同,请重新输入密码.\");\r\n theForm.userpassword.focus();\r\n return (false);\r\n }\r\n return (true);\r\n}\r\n//-->\r\n</script>\r\n\r\n<div align=\"center\">\r\n<table border=\"1\" width=\"600\" bordercolorlight=\"#000000\" cellspacing=\"0\" cellpadding=\"0\" bordercolordark=\"#FFFFFF\">\r\n <tr>\r\n <td width=\"600\" align=\"center\">\r\n <form method=\"post\" action=\"registry.jsp\" onsubmit=\"return check_input(this)\" name=\"registry\">\r\n <p align=\"center\" style=\"margin-top: 0; margin-bottom: 0\"><b><font size=\"4\"><br>\r\n 新 用 户 注 册 </font></b>*不能为空</p> \r\n <center> \r\n <div align=\"center\"> \r\n <center> \r\n <table border=\"0\" width=\"95%\" height=\"85\"> \r\n <tr> \r\n <td width=\"540\" height=\"41\"> \r\n <p style=\"margin-top: 0; margin-bottom: 0\">用 户 名:<input class=\"intext\" type=\"text\" name=\"username\" size=\"20\" > <font color=\"#FF0000\">*</font> \r\n 密 码:<input class=\"intext\" type=\"password\" name=\"userpassword\" size=\"10\"><font color=\"#FF0000\">*</font> \r\n 重复密码:<input class=\"intext\" type=\"password\" name=\"userpassword2\" size=\"10\"><font color=\"#FF0000\">*</font> \r\n </p> \r\n <p style=\"margin-top: 0; margin-bottom: 0\">E_MAIL <input class=\"intext\" type=\"text\" name=\"useremail\" size=\"30\"> \r\n <p style=\"margin-top: 0; margin-bottom: 0\">HOMEPAGE: <input class=\"intext\" type=\"text\" name=\"userhomepage\" size=\"50\" value=\"http://\"> \r\n </p> \r\n <p style=\"margin-top: 0; margin-bottom: 0\">主页名称:<input class=\"intext\" type=\"text\" name=\"hpname\" size=\"20\"> \r\n </p> \r\n <p style=\"margin-top: 0; margin-bottom: 0\">生 日:<input class=\"intext\" type=\"text\" name=\"userbirthday\" size=\"11\" value=\"99-05-26\"> 格式:yy-mm-dd <br> \r\n 性 别:<input type=\"radio\" value=\"男\" name=\"usersex\" checked>男<input type=\"radio\" value=\"女\" name=\"usersex\">女 \r\n \r\n 来 自:<input class=\"intext\" type=\"text\" name=\"comefrom\" size=\"20\"> \r\n </p> \r\n <p style=\"margin-top: 0; margin-bottom: 0\">签名: \r\n </p> \r\n <p style=\"margin-top: 0; margin-bottom: 0\"><textarea class=\"intext\" rows=\"4\" name=\"usersign\" cols=\"36\"></textarea> \r\n <input class=\"buttonface\" type=\"submit\" value=\"好啦\" name=\"B1\"> \r\n <input class=\"buttonface\" type=\"reset\" value=\"重填\" name=\"B2\"> \r\n </p> \r\n </td> \r\n </tr> \r\n </table> \r\n </center> \r\n </div> \r\n </form> \r\n </center> \r\n </td> \r\n </tr> \r\n</table> \r\n</div> \r\n\r\n".getBytes("GB2312");
_jsp_string9 = "</td> \r\n </tr> \r\n <tr> \r\n <td width=\"200\" align=\"right\">主页名称:</td>\r\n <td width=\"300\">".getBytes("GB2312");
_jsp_string7 = "</td> \r\n </tr> \r\n <tr> \r\n <td width=\"200\" align=\"right\">EMAIL:</td> \r\n <td width=\"300\">".getBytes("GB2312");
_jsp_string1 = "<!--开始导入packages-->\r\n".getBytes("GB2312");
_jsp_string4 = "\r\n\r\n<div align=\"center\"> \r\n <center> \r\n<table border=\"0\" width=\"300\"> \r\n <tr> \r\n <td width=\"540\" align=\"center\"> \r\n <p><font size=\"7\" color=\"#FF0000\" face=\"Copperplate Gothic Bold\">error</font> \r\n </p> \r\n <p><font size=\"4\" face=\"华文新魏\">重名!请重新确定用户名!</font></p> \r\n <p> \r\n<!-- \r\n <form method=\"GET\" action=\"registry.jsp\"> \r\n <p><input type=\"submit\" value=\"返回\" name=\"B1\"></p> \r\n </form> \r\n-->\r\n </td> \r\n </tr> \r\n</table> \r\n </center> \r\n</div> \r\n\r\n".getBytes("GB2312");
_jsp_string16 = "</td> \r\n </tr> \r\n <tr> \r\n <td width=\"200\" align=\"right\"></td> \r\n <td width=\"300\"><a href=\"index.htm\" target=\"_top\">进入论坛</a></td>\r\n </tr> \r\n </table> \r\n </center> \r\n </div> \r\n </td> \r\n </tr> \r\n</table> \r\n </center> \r\n</div> \r\n".getBytes("GB2312");
_jsp_string17 = "\r\n</body> \r\n</html>".getBytes("GB2312");
_jsp_string0 = "\r\n".getBytes("GB2312");
_jsp_string15 = "</td> \r\n </tr> \r\n <tr> \r\n <td width=\"200\" align=\"right\">签名:</td> \r\n <td width=\"300\"></td> \r\n </tr> \r\n <tr> \r\n <td width=\"500\" align=\"right\" colspan=\"2\">".getBytes("GB2312");
_jsp_string2 = "\r\n<!--导入结束-->\r\n".getBytes("GB2312");
_jsp_string5 = "\r\n<div align=\"center\"> \r\n <center> \r\n<table border=\"0\" width=\"300\"> \r\n <tr> \r\n <td width=\"540\" align=\"center\"><font color=\"#0000FF\" face=\"Copperplate Gothic Bold\" size=\"6\">congratulation</font> \r\n <p>注册成功!!</p> \r\n <div align=\"center\"> \r\n <center> \r\n <table border=\"0\" width=\"300\">\r\n <tr> \r\n <td width=\"200\" align=\"right\">用户名:</td> \r\n <td width=\"300\">".getBytes("GB2312");
_jsp_string12 = "</td> \r\n </tr> \r\n <tr> \r\n <td width=\"200\" align=\"right\">来自:</td> \r\n <td width=\"300\">".getBytes("GB2312");
_jsp_string8 = "</td> \r\n </tr> \r\n <tr> \r\n <td width=\"200\" align=\"right\">homepage:</td>\r\n <td width=\"300\">".getBytes("GB2312");
_jsp_string11 = "</td> \r\n </tr> \r\n <tr> \r\n <td width=\"200\" align=\"right\">性别:</td> \r\n <td width=\"300\">".getBytes("GB2312");
_jsp_string14 = "</td> \r\n </tr> \r\n <tr> \r\n <td width=\"200\" align=\"right\">积分</td> \r\n <td width=\"300\">".getBytes("GB2312");
} catch (java.io.UnsupportedEncodingException e) {
e.printStackTrace();
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -