⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 register_jsp.java

📁 一个由B/S做的宠物医院
💻 JAVA
📖 第 1 页 / 共 3 页
字号:
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("宠物医院注册窗口\r\n");
      out.write("</title>\r\n");
      out.write("<!--导入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("<!--利用超链接传输数据的脚本-->\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</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>”的项目必须填写。</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>&nbsp;<FONT color=2D5BBB><B>请填写您的用户名:</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>&nbsp;通行证用户名:</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;\">请填写正确的用户名<br />只能以数字或字母开头和结尾<br />用户名长度为3-18位。<br /><span style=\"color:#f00\">必填项目</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>的英文字母(不区分大小写)、<b>0~9</b>的数字、<b>点</b>、<b>减号</b>或<b>下划线</b>组成,长度为<b>3~18</b>个字符,只能以数字或字母开头和结尾,如: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\">&nbsp;<B>请填写安全设置:</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 colSpan=3 height=4 class=p2>\r\n");
      out.write("        <FONT color=FF0000>&nbsp;以下信息对保证您的帐号的安全极为重要,请您务必认真填写。</FONT></TD>\r\n");
      out.write("        <TD width=7></TD>\r\n");

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -