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

📄 enrollment_jsp.java

📁 用J2EE开发的网站,可以应用到图书馆,图书超市
💻 JAVA
📖 第 1 页 / 共 2 页
字号:
      out.write("                  src=\"index.images/bookmark.gif\" width=15 alt=\"\"></TD>\r\n");
      out.write("                <TD vAlign=\"middle\" noWrap align=\"center\"><A\r\n");
      out.write("                  onclick=\"window.external.addFavorite('http://www.ksnb.com','KSNB网上书店');return false;\"\r\n");
      out.write("                  href=\"http://www.ksnb.com/\">加入收藏</A></TD></TR></TBODY></TABLE></DIV></TD></TR></TBODY></TABLE>\r\n");
      out.write("      <TABLE height=1 cellSpacing=1 cellPadding=0 width=780 align=center\r\n");
      out.write("      border=0>\r\n");
      out.write("        <TBODY>\r\n");
      out.write("        <TR bgColor=#077bbf>\r\n");
      out.write("          <TD bgColor=#077bbf><IMG height=1\r\n");
      out.write("            src=\"index.images/index-line.gif\"\r\n");
      out.write("      width=\"100%\" alt=\"\"></TD></TR></TBODY></TABLE>\r\n");
      out.write("      <TABLE height=22 cellSpacing=1 cellPadding=0 width=780 align=center\r\n");
      out.write("      background=index.images/bihai2.gif border=0>\r\n");
      out.write("        <TBODY>\r\n");
      out.write("        <TR Align=center>\r\n");
      out.write("          <TD align=center width=\"8%\"><A\r\n");
      out.write("            href=\"index.jsp\">网站首页</A></TD>\r\n");
      out.write("\t\t <TD align=center width=\"8%\"><A\r\n");
      out.write("            href=\"newbook.jsp\" target=\"_blank\">新书推荐</A></TD>\r\n");
      out.write("          <TD align=center width=\"8%\"><A\r\n");
      out.write("            href=\"rootbook.jsp\" target=\"_blank\">热门图书</A></TD>\r\n");
      out.write("          <TD align=center width=\"8%\"><A\r\n");
      out.write("            href=\"tejia_info.jsp\" target=\"_blank\">特价专柜</A></TD>\r\n");
      out.write("          <TD align=center width=\"8%\"><A\r\n");
      out.write("            href=\"Navigation_info.jsp\" target=\"_blank\">图书分类</A></TD>\r\n");
      out.write("          <TD align=center width=\"8%\"><A\r\n");
      out.write("            href=\"Customer_Manage.jsp\" target=\"_blank\">客户中心</A></TD>\r\n");
      out.write("          <TD align=center width=\"8%\"><A\r\n");
      out.write("            href=\"Help.jsp\" target=\"target\">关于本站</A></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>\r\n");
      out.write("</body>\r\n");
      out.write("</html>\r\n");
      out.write("\r\n");
      out.write("<BODY leftMargin=0 background=index.images/background.jpg topMargin=0\r\n");
      out.write("marginheight=\"0\" marginwidth=\"0\"><br>\r\n");
      out.write("<table width=\"776\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"1\" bgcolor=\"#FF8E19\" align=\"center\">\r\n");
      out.write("  <tr>\r\n");
      out.write("\r\n");
      out.write("    <td height=\"230\" bgcolor=\"#FFFFFF\">\r\n");
      out.write("<div align=\"center\"><br><font color=\"#FF6600\" size=\"3\">\r\n");
      out.write("      请认真填写个人注册信息</font><br>\r\n");
      out.write("      (注:带<font color=\"red\">&nbsp;***&nbsp;</font>为必填项,其它信息可在下订单时填写)\r\n");
      out.write("     <br>\r\n");
      out.write("</div>\r\n");
      out.write("      <table width=\"90%\" border=\"1\" align=\"center\" cellpadding=\"2\" cellspacing=\"1\" >\r\n");
      out.write("        ");
if(session.getAttribute("Enrollment")==null)   //判断login中的消息是不是为null,为不让null显示出来,将其赋空
       {
         session.setAttribute("Enrollment","");
       }
       else
       {
      out.write("\r\n");
      out.write("       <tr>\r\n");
      out.write("         <td>\r\n");
      out.write("           <font color=\"red\" style=\"\" size=\"6\">\r\n");
      out.write("             ");
      out.print(session.getAttribute("Enrollment"));
      out.write(' ');
//显示出session中login的消息
      out.write("\r\n");
      out.write("             ");
session.setAttribute("Enrollment","");//显示出后,将session中的login的消息清空
      out.write("\r\n");
      out.write("           </font>\r\n");
      out.write("         </td>\r\n");
      out.write("       </tr>\r\n");
      out.write("       ");
}
      out.write("\r\n");
      out.write("       <form name=\"userinfo\" method=\"post\" action=\"user_login\" >\r\n");
      out.write("       <tr>\r\n");
      out.write("            <td class=pad bgcolor=\"#FDE6A4\"><font color=\"#FF6600\">用 户 名:</font>\r\n");
      out.write("              <input name=\"Account\" type=\"text\" ><font color=\"red\" >&nbsp;&nbsp;***</font>\r\n");
      out.write("              <br>\r\n");
      out.write("            用于登陆时使用,用户名长度不能小于4</td>\r\n");
      out.write("          </tr>\r\n");
      out.write("          <tr>\r\n");
      out.write("            <td class=pad bgcolor=\"#FDE6A4\"><font color=\"#FF6600\">密&nbsp;&nbsp;&nbsp;&nbsp;码:</font><font color=\"#cb6f00\">\r\n");
      out.write("              <input name=\"Pwd\" type=\"password\"  maxlength=\"18\" ><font color=\"red\" >&nbsp;&nbsp;***</font>\r\n");
      out.write("              <br>\r\n");
      out.write("              </font>长度必须大于6个字符小于18个字符,只能为英语字、数字,例如:ajok等。<font color=\"#cb6f00\">&nbsp;\r\n");
      out.write("            </font></td>\r\n");
      out.write("          </tr>\r\n");
      out.write("          <tr>\r\n");
      out.write("            <td class=pad bgcolor=\"#FDE6A4\"><font color=\"#FF6600\">确认密码:</font><font color=\"#cb6f00\">\r\n");
      out.write("              <input name=\"Checkout_Pwd\" type=\"password\" ><font color=\"red\" >&nbsp;&nbsp;***</font>\r\n");
      out.write("              <br>\r\n");
      out.write("            </font>请将输入的密码再次输入,以免设置密码出错。<font color=\"#cb6f00\">&nbsp; </font></td>\r\n");
      out.write("          </tr>\r\n");
      out.write("          <tr>\r\n");
      out.write("            <td class=pad bgcolor=\"#FDE6A4\"><font color=\"#FF6600\">\r\n");
      out.write("              E-Mail&nbsp;&nbsp;:\r\n");
      out.write("              </font> <input name=\"Email\" type=\"text\" id=\"Email\"><font color=\"red\" >&nbsp;&nbsp;***</font> <br>\r\n");
      out.write("           请按正确格式填写。格式如下:txlng@163.com</td>\r\n");
      out.write("          </tr>\r\n");
      out.write("            <tr>\r\n");
      out.write("            <td class=pad bgcolor=\"#FDE6A4\"><font color=\"#FF6600\">\r\n");
      out.write("              真实姓名:\r\n");
      out.write("              </font><font color=\"#cb6f00\">\r\n");
      out.write("              <input name=\"Name\" type=\"text\" >\r\n");
      out.write("              <br>\r\n");
      out.write("            </font> 以便发货确认。 </td>\r\n");
      out.write("          </tr>\r\n");
      out.write("            <tr>\r\n");
      out.write("            <td class=pad bgcolor=\"#FDE6A4\"><font color=\"#FF6600\">\r\n");
      out.write("              你的年龄:\r\n");
      out.write("              </font><font color=\"#cb6f00\">\r\n");
      out.write("              <input name=\"Age\" type=\"text\" maxlength=\"3\">\r\n");
      out.write("              <br>\r\n");
      out.write("            </font> 以便发货确认。 </td>\r\n");
      out.write("          </tr>\r\n");
      out.write("\r\n");
      out.write("          <tr>\r\n");
      out.write("            <td class=pad bgcolor=\"#FDE6A4\"><font color=\"#FF6600\">\r\n");
      out.write("              住宅电话:\r\n");
      out.write("              <input name=\"Tel\" type=\"text\"  maxlength=16>\r\n");
      out.write("              <br>\r\n");
      out.write("            </font>请按正确格式填写。例如:03172783033或137********</td>\r\n");
      out.write("          </tr>\r\n");
      out.write("\r\n");
      out.write("         <tr>\r\n");
      out.write("            <td class=pad bgcolor=\"#FDE6A4\"><font color=\"#FF6600\">请选择你的性别:\r\n");
      out.write("              <input type=\"radio\" name=\"Sex\" value=\"男\" checked=\"checked\"/>男&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r\n");
      out.write("              <input type=\"radio\" name=\"Sex\" value=\"女\"/>女\r\n");
      out.write("              <br>\r\n");
      out.write("            </font>此项不选择时,默认为\"男\",以后可在用户信息管理中心或下订单时更改</td>\r\n");
      out.write("          </tr>\r\n");
      out.write("\r\n");
      out.write("          <tr>\r\n");
      out.write("            <td class=pad bgcolor=\"#FDE6A4\"><font color=\"#FF6600\">\r\n");
      out.write("              你的联系地址:<input type=\"text\" name=\"Address\"/>\r\n");
      out.write("              <br>\r\n");
      out.write("              </font>用于为你送货。</td>\r\n");
      out.write("          </tr>\r\n");
      out.write("\r\n");
      out.write("          <tr>\r\n");
      out.write("            <td class=pad bgcolor=\"#FDE6A4\"><font color=\"#FF6600\">\r\n");
      out.write("              你的邮递编号:<input type=\"text\" name=\"PostCode\" maxlength=\"6\" size=\"6\"/>\r\n");
      out.write("              <br>\r\n");
      out.write("              </font>用于为你送货。</td>\r\n");
      out.write("          </tr>\r\n");
      out.write("\r\n");
      out.write("          <tr align=\"center\">\r\n");
      out.write("            <td bgcolor=\"#FDE6A4\" class=pad>\r\n");
      out.write("              <input type=\"hidden\" name=\"button\" value=\"Enrollment\"/>\r\n");
      out.write("              <input onClick=\"return checks()\" type=\"submit\" value=\"提  交\">\r\n");
      out.write("              <input type=\"reset\"/>\r\n");
      out.write("            </td>\r\n");
      out.write("          </tr>\r\n");
      out.write("          <input type=\"hidden\" name=\"button2\" value=\"\"/>\r\n");
      out.write("        </form>\r\n");
      out.write("      </table>\r\n");
      out.write("    </td>\r\n");
      out.write("  </tr>\r\n");
      out.write("</table><br>\r\n");
      out.write("</body>\r\n");
      out.write("\r\n");
      out.write("<html>\r\n");
      out.write("<head>\r\n");
      out.write("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\">\r\n");
      out.write("<title>foot</title>\r\n");
      out.write("<link href=\"index.images/style.css\" type=text/css rel=stylesheet>\r\n");
      out.write("</head>\r\n");
      out.write("\r\n");
      out.write("<body>\r\n");
      out.write("<DIV align=center>\r\n");
      out.write("<TABLE cellSpacing=0 cellPadding=1 width=780 align=center bgColor=#000000\r\n");
      out.write("border=0>\r\n");
      out.write("  <TBODY>\r\n");
      out.write("  <TR bgColor=#ffffff>\r\n");
      out.write("    <TD align=center background=index.images/title_left.gif><FONT\r\n");
      out.write("      color=#ff3000><B>..::友情站点::..</B></FONT> </TD></TR>\r\n");
      out.write("  <TR bgColor=#ffffff>\r\n");
      out.write("        <TD align=center> <A href=\"null.htm\" target=_blank><IMG\r\n");
      out.write("      height=53\r\n");
      out.write("      alt=\"名称:上海书城&#13;&#10;地址:http://www.bookmall.com.cn/&#13;&#10;简介:购书中心\"\r\n");
      out.write("      hspace=1 src=\"index.images/logogif.gif\" width=148 vspace=1\r\n");
      out.write("      border=0></A> <A href=\"null.htm\" target=_blank><IMG height=53\r\n");
      out.write("      alt=\"名称:雅虎&#13;&#10;地址:http://cn.yahoo.com&#13;&#10;简介:搜索引擎\" hspace=1\r\n");
      out.write("      src=\"index.images/cn_sm4.gif\" width=144 vspace=1 border=0></A> <A\r\n");
      out.write("      href=\"null.htm\" target=_blank><IMG height=53\r\n");
      out.write("      alt=\"名称:丽水市新华书店&#13;&#10;地址:http://www.lsxhsd.com&#13;&#10;简介:网上书店\"\r\n");
      out.write("      hspace=1 src=\"index.images/logo_ls.jpg\" width=164 vspace=1\r\n");
      out.write("      border=0></A> <A href=\"null.htm\" target=_blank><IMG\r\n");
      out.write("      height=53 alt=\"名称:博库书城&#13;&#10;地址:http://www.bookuu.com&#13;&#10;简介:网上书店\"\r\n");
      out.write("      hspace=1 src=\"index.images/logo_002.gif\" width=162 vspace=1\r\n");
      out.write("      border=0></A> </TD>\r\n");
      out.write("      </TR>\r\n");
      out.write("  <TR bgColor=#ffffff>\r\n");
      out.write("        <TD align=center>| <A\r\n");
      out.write("      title=\"名称:中国图书商报&#13;&#10;地址:http://www.cbbr.com.cn/&#13;&#10;简介:全国性书业报刊\"\r\n");
      out.write("      href=\"http://www.cbbr.com.cn/\" target=_blank>中国图书商报</A> | <A\r\n");
      out.write("      title=\"名称:四川新华书店&#13;&#10;地址:http://www.xinhuabookstore.com/&#13;&#10;简介:网上购书\"\r\n");
      out.write("      href=\"http://www.xinhuabookstore.com/\" target=_blank>四川新华书店</A> | <A\r\n");
      out.write("      title=\"名称:博览群书&#13;&#10;地址:http://www.gmw.com.cn/gmw/blqs&#13;&#10;简介:|文化思考 |学术之窗 |书与人 |新书点评 |读者茶座 \"\r\n");
      out.write("      href=\"http://www.gmw.com.cn/gmw/blqs\" target=_blank>博览群书</A> | <A\r\n");
      out.write("      title=\"名称:中华读书报&#13;&#10;地址:http://www.gmdaily.com.cn/gmw/ds&#13;&#10;简介:|家园 |要闻 |每周了望 |电脑书城 |国际文化 |电脑时代 |读者看法 |评论 |专版 |教育双周刊 |学术双周刊 \"\r\n");
      out.write("      href=\"http://www.gmdaily.com.cn/gmw/ds\" target=_blank>中华读书报</A> | <A\r\n");
      out.write("      title=\"名称:浙江图书馆&#13;&#10;地址:http://www.zjlib.net.cn/default.asp&#13;&#10;简介:付费网上阅读\"\r\n");
      out.write("      href=\"http://www.zjlib.net.cn/default.asp\" target=_blank>浙江图书馆</A> | <A\r\n");
      out.write("      title=\"名称:超星数字图书馆&#13;&#10;地址:http://www.ssreader.com/&#13;&#10;简介:付费网上阅读\"\r\n");
      out.write("      href=\"http://www.ssreader.com/\" target=_blank>超星数字图书馆</A> | <A\r\n");
      out.write("      title=\"名称:郑州教育网&#13;&#10;地址:http://www.zzedu.org&#13;&#10;简介:介绍郑州教育信息\"\r\n");
      out.write("      href=\"http://www.zjscedu.org/\" target=_blank>郑州教育网</A> | <A\r\n");
      out.write("      title=\"名称:中国设计教学网&#13;&#10;地址:http://www.5a609.com/&#13;&#10;简介:设计教学\"\r\n");
      out.write("      href=\"http://www.5a609.com/\" target=_blank>中国设计教学网</A> | </TD>\r\n");
      out.write("      </TR></TBODY></TABLE>\r\n");
      out.write("<HR width=780 color=#077bbf SIZE=1>\r\n");
      out.write("\r\n");
      out.write("<TABLE cellSpacing=2 cellPadding=0 width=780 align=center border=0>\r\n");
      out.write("  <TBODY>\r\n");
      out.write("  <TR>\r\n");
      out.write("        <TD\r\n");
      out.write("      align=center>KSNB网上书店&nbsp;0371-65015922&nbsp;QQ:115465086<BR>\r\n");
      out.write("          技术支持QQ:35083766 电子信箱:<A href=\"mailto:txlng@163.com\"><FONT\r\n");
      out.write("      face=\"Arial, Helvetica, sans-serif\"\r\n");
      out.write("      color=#3333ff>txlng@163.com</FONT></A> <BR>\r\n");
      out.write("      <a href=\"http://www.ksnb.com/\">KSNB网上书店</a> 版权所有&copy;2005-2008<br>\r\n");
      out.write("      <img alt=\"\" src=\"index.images/biaoshi.gif\" />\r\n");
      out.write("      <SCRIPT language=JavaScript type=\"\">\r\n");
      out.write("document.write(\"<a href='null.htm'>\");\r\n");
      out.write("document.write(\"<img src='count/count.asp?Referer=www.scxhsd.net&Width=\"+escape(screen.width)+\"&Height=\"+escape(screen.height)+\"' border=0 width=0 height=0>\");\r\n");
      out.write("document.write(\"</a>\");\r\n");
      out.write("</SCRIPT>\r\n");
      out.write("</TD></TR></TBODY></TABLE></DIV>\r\n");
      out.write("</body>\r\n");
      out.write("</html>\r\n");
      out.write("\r\n");
      out.write("</html>\r\n");
    } catch (Throwable t) {
      if (!(t instanceof SkipPageException)){
        out = _jspx_out;
        if (out != null && out.getBufferSize() != 0)
          out.clearBuffer();
        if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
      }
    } finally {
      if (_jspxFactory != null) _jspxFactory.releasePageContext(_jspx_page_context);
    }
  }
}

⌨️ 快捷键说明

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