?? register_jsp.java
字號:
package org.apache.jsp;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
public final class Register_jsp extends org.apache.jasper.runtime.HttpJspBase
implements org.apache.jasper.runtime.JspSourceDependent {
private static java.util.Vector _jspx_dependants;
public java.util.List getDependants() {
return _jspx_dependants;
}
public void _jspService(HttpServletRequest request, HttpServletResponse response)
throws java.io.IOException, ServletException {
JspFactory _jspxFactory = null;
PageContext pageContext = null;
HttpSession session = null;
ServletContext application = null;
ServletConfig config = null;
JspWriter out = null;
Object page = this;
JspWriter _jspx_out = null;
PageContext _jspx_page_context = null;
try {
_jspxFactory = JspFactory.getDefaultFactory();
response.setContentType("text/html; charset=GBK");
pageContext = _jspxFactory.getPageContext(this, request, response,
null, true, 8192, true);
_jspx_page_context = pageContext;
application = pageContext.getServletContext();
config = pageContext.getServletConfig();
session = pageContext.getSession();
out = pageContext.getOut();
_jspx_out = out;
out.write("\r\n");
out.write("<html>\r\n");
out.write("<head>\r\n");
out.write("<title>\r\n");
out.write("寵物醫(yī)院注冊窗口\r\n");
out.write("</title>\r\n");
out.write("<!--導(dǎo)入Home樣式表-->\r\n");
out.write("<link href=\"Home.css\" rel=\"stylesheet\" type=\"text/css\" />\r\n");
out.write("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\">\r\n");
out.write("<!--自動將窗口最大化的腳本-->\r\n");
out.write("<script type=\"\">\r\n");
out.write("self.moveTo(0,0)\r\n");
out.write("self.resizeTo(screen.availWidth,screen.availHeight)\r\n");
out.write("</script>\r\n");
out.write("<!--屏蔽腳本出錯的代碼-->\r\n");
out.write("<SCRIPT type=\"\" LANGUAGE=\"JavaScript\">\r\n");
out.write("<!--\r\n");
out.write("function killErrors() {\r\n");
out.write("return true;\r\n");
out.write("}\r\n");
out.write("window.onerror = killErrors;\r\n");
out.write("-->\r\n");
out.write("</SCRIPT>\r\n");
out.write("<style type=\"text/css\">\r\n");
out.write("<!--\r\n");
out.write("div{padding: 5px;\r\n");
out.write("font-size:13px;\r\n");
out.write("border: 1px double #333333;\r\n");
out.write("filter: Shadow(Color=#000000, Direction=135);\r\n");
out.write("filter:progid:DXImageTransform.Microsoft.Shadow(color=#111111,direction=135,strength=5);}\r\n");
out.write("-->\r\n");
out.write("</style>\r\n");
out.write("<script type=\"text/javascript\" src=\"js/validate.js\">\r\n");
out.write("</script>\r\n");
out.write("<!--利用超鏈接傳輸數(shù)據(jù)的腳本-->\r\n");
out.write("<script type=\"\" language=\"javascript\">\r\n");
out.write("function checkname(gotoURL) {\r\n");
out.write(" var name=document.frm1.username.value.toLowerCase();\r\n");
out.write(" if (validateusername()){\r\n");
out.write("\t var open_url = gotoURL+\"?uname=\"+name;\r\n");
out.write("\t window.open(open_url,'','status=0,directories=0,resizable=0,toolbar=0,location=0,scrollbars=0,width=260,height=150,top=240,left=370');\r\n");
out.write("\t}\r\n");
out.write("}\r\n");
out.write("</script>\r\n");
out.write("</head>\r\n");
out.write("<body bgcolor=white>\r\n");
out.write("<img alt=\"\" src=\"img/image_1.gif\" />\r\n");
out.write("<TABLE cellSpacing=0 cellPadding=0 width=750 align=center bgColor=#5686e9 border=0>\r\n");
out.write(" <TR>\r\n");
out.write(" <TD height=2></TD>\r\n");
out.write(" </TR>\r\n");
out.write("</TABLE>\r\n");
out.write("<TABLE cellSpacing=0 cellPadding=0 width=620 border=0 align=center>\r\n");
out.write("\t</tr>\r\n");
out.write("\t<br><br>\r\n");
out.write("<TABLE cellSpacing=0 cellPadding=0 width=620 border=0 align=center>\r\n");
out.write(" <tr><td class=p1><font color=red>請注意:帶有“</font><font color=D11B00>*</font><font color=red>”的項(xiàng)目必須填寫。</font></td></tr>\r\n");
out.write("<TABLE cellSpacing=0 cellPadding=0 width=620 border=0 align=center>\r\n");
out.write(" <form name=\"frm1\" method=POST action=\"/PetModule/uregservlet\" onsubmit=\"return validateform();\">\r\n");
out.write(" <tr>\r\n");
out.write(" <td height=6 colspan=8></td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr>\r\n");
out.write(" <td height=1 bgcolor=CCDAF8 colspan=8></td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr>\r\n");
out.write(" <td width=10 bgcolor=CCDAF8></td>\r\n");
out.write(" <td width=7></td>\r\n");
out.write(" <td width=\"614\" height=2 colspan=3></td>\r\n");
out.write(" <td width=7></td>\r\n");
out.write(" <td width=7 bgcolor=CCDAF8></td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr>\r\n");
out.write(" <td width=1 bgcolor=CCDAF8></td>\r\n");
out.write(" <td width=2></td>\r\n");
out.write(" <td width=\"614\" height=24 bgcolor=EDF2FC class=p4 colspan=3> <FONT color=2D5BBB><B>請?zhí)顚懩挠脩裘?lt;/B></FONT></td>\r\n");
out.write(" <td width=7></td>\r\n");
out.write(" <td width=7 bgcolor=CCDAF8></td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr>\r\n");
out.write(" <td width=10 bgcolor=CCDAF8></td>\r\n");
out.write(" <td width=7></td>\r\n");
out.write(" <td width=\"614\" height=4 colspan=3></td>\r\n");
out.write(" <td width=7></td>\r\n");
out.write(" <td width=7 bgcolor=CCDAF8></td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr>\r\n");
out.write(" <td width=10 bgcolor=CCDAF8></td>\r\n");
out.write(" <td width=7></td>\r\n");
out.write(" <td width=124 class=p6 align=right valign=top><BR><font color=D11B00>*</font> 通行證用戶名:</td>\r\n");
out.write(" <td width=145 valign=top><BR><input type=text name=username style=\"ime-mode:disabled\" size=18 maxlength=18 onblur=\"validateusername()\" onfocus=\"DIVhidden1()\">\r\n");
out.write(" <div id=\"Layer1\" style=\"position:absolute; width:183px; z-index:1; left: 465px; top: 171px; visibility:hidden; background-color: #FFFFCC;\">請?zhí)顚懻_的用戶名<br />只能以數(shù)字或字母開頭和結(jié)尾<br />用戶名長度為3-18位。<br /><span style=\"color:#f00\">必填項(xiàng)目</span></div>\r\n");
out.write(" <BR>\r\n");
out.write(" <a href=\"javascript:checkname('/PetModule/userregisterservlet')\">查看用戶名是否被占用</A>\r\n");
out.write(" </td>\r\n");
out.write(" <td width=298 bgcolor=F4F4F5 valign=top>\r\n");
out.write(" <TABLE cellSpacing=6 cellPadding=6 width=100% border=0 align=center>\r\n");
out.write(" <tr>\r\n");
out.write(" <TD class=p8>用戶名由<b>a~z</b>的英文字母(不區(qū)分大小寫)、<b>0~9</b>的數(shù)字、<b>點(diǎn)</b>、<b>減號</b>或<b>下劃線</b>組成,長度為<b>3~18</b>個字符,只能以數(shù)字或字母開頭和結(jié)尾,如:xzy_001。</TD>\r\n");
out.write(" </tr>\r\n");
out.write("</table>\r\n");
out.write(" </td>\r\n");
out.write(" <td width=7></td>\r\n");
out.write(" <td width=7 bgcolor=CCDAF8></td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr>\r\n");
out.write(" <td width=10 bgcolor=CCDAF8></td>\r\n");
out.write(" <td width=7></td>\r\n");
out.write(" <td width=\"614\" height=4 colspan=3></td>\r\n");
out.write(" <td width=7></td>\r\n");
out.write(" <td width=7 bgcolor=CCDAF8></td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr>\r\n");
out.write(" <td width=10 bgcolor=CCDAF8></td>\r\n");
out.write(" <td width=7></td>\r\n");
out.write(" <td width=\"614\" height=1 bgcolor=CCDAF8 colspan=3></td>\r\n");
out.write(" <td width=7></td>\r\n");
out.write(" <td width=7 bgcolor=CCDAF8></td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr>\r\n");
out.write(" <td width=1 bgcolor=CCDAF8></td>\r\n");
out.write(" <td width=2></td>\r\n");
out.write(" <td width=\"614\" height=24 bgcolor=EDF2FC class=p4 colspan=3><font color=\"2D5BBB\"> <B>請?zhí)顚懓踩O(shè)置:</B>(安全設(shè)置用于驗(yàn)證帳號和找回密碼)</font></td>\r\n");
out.write(" <td width=7></td>\r\n");
out.write(" <td width=7 bgcolor=CCDAF8></td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr>\r\n");
out.write(" <td width=10 bgcolor=CCDAF8></td>\r\n");
out.write(" <td width=7></td>\r\n");
out.write(" <td width=\"614\" height=4 colspan=3></td>\r\n");
out.write(" <td width=7></td>\r\n");
out.write(" <td width=7 bgcolor=CCDAF8></td>\r\n");
out.write(" </tr>\r\n");
out.write(" <TR>\r\n");
out.write(" <TD width=10 bgColor=#ccdaf8></TD>\r\n");
out.write(" <TD width=7></TD>\r\n");
out.write(" <TD colSpan=3 height=4 class=p2>\r\n");
out.write(" <FONT color=FF0000> 以下信息對保證您的帳號的安全極為重要,請您務(wù)必認(rèn)真填寫。</FONT></TD>\r\n");
out.write(" <TD width=7></TD>\r\n");
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -