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

📄 login_jsp.java

📁 用hibernate框架实现网上书店
💻 JAVA
字号:
package org.apache.jsp;

import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;

public final class login_jsp extends org.apache.jasper.runtime.HttpJspBase
    implements org.apache.jasper.runtime.JspSourceDependent {

  private static final JspFactory _jspxFactory = JspFactory.getDefaultFactory();

  private static java.util.List _jspx_dependants;

  static {
    _jspx_dependants = new java.util.ArrayList(1);
    _jspx_dependants.add("/logo2.jsp");
  }

  private javax.el.ExpressionFactory _el_expressionfactory;
  private org.apache.AnnotationProcessor _jsp_annotationprocessor;

  public Object getDependants() {
    return _jspx_dependants;
  }

  public void _jspInit() {
    _el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
    _jsp_annotationprocessor = (org.apache.AnnotationProcessor) getServletConfig().getServletContext().getAttribute(org.apache.AnnotationProcessor.class.getName());
  }

  public void _jspDestroy() {
  }

  public void _jspService(HttpServletRequest request, HttpServletResponse response)
        throws java.io.IOException, ServletException {

    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 {
      response.setContentType("text/html; charset=GB2312");
      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("\n");
      out.write("\n");
      out.write("<html>\n");
      out.write("<head>\n");
      out.write("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\">\n");
      out.write("<META HTTP-EQUIV=\"Pragma\" CONTENT=\"no-cache\"> \n");
      out.write("<META HTTP-EQUIV=\"Cache-Control\" CONTENT=\"no-cache\"> \n");
      out.write("<META HTTP-EQUIV=\"Expires\" CONTENT=\"0\">    \n");
      out.write("<title>LIVE在线书店-会员登录</title>\n");
      out.write("<style type=\"text/css\">\n");
      out.write("<!--\n");
      out.write(".STYLE2 {font-size: 12px}\n");
      out.write(".STYLE3 {\n");
      out.write("\tcolor: #009999;\n");
      out.write("\tfont-weight: bold;\n");
      out.write("}\n");
      out.write("a:link {\n");
      out.write("\ttext-decoration: none;\n");
      out.write("\tcolor: #006699;\n");
      out.write("}\n");
      out.write("a:visited {\n");
      out.write("\ttext-decoration: none;\n");
      out.write("\tcolor: #006699;\n");
      out.write("}\n");
      out.write("a:hover {\n");
      out.write("\ttext-decoration: none;\n");
      out.write("}\n");
      out.write("a:active {\n");
      out.write("\ttext-decoration: none;\n");
      out.write("}\n");
      out.write("-->\n");
      out.write("</style>\n");
      out.write("</head>\n");
      out.write("<body>\n");
      out.write("  ");
      out.write("<table width=\"760\" border=\"0\" align=\"center\">\n");
      out.write("  <tr>\n");
      out.write("    <td width=\"251\" height=\"70\"><img src=\"images/logo.gif\" width=\"184\" height=\"52\" /></td>\n");
      out.write("    <td width=\"499\" valign=\"bottom\"><p>&nbsp;</p>\n");
      out.write("     \n");
      out.write("    <p>&nbsp;</p></td>\n");
      out.write("  </tr>\n");
      out.write("</table>");
      out.write("\n");
      out.write("     \n");
      out.write("   ");
     String uname="";     if(!session.isNew()){        uname=(String)session.getAttribute("uname");        if(uname==null)            uname="";    }        
      out.write("\n");
      out.write("   \n");
      out.write("                                            <table width=\"853\" border=\"0\">\n");
      out.write("                                                  <tr>\n");
      out.write("                                                      <td width=\"847\" align=\"right\"> <span class=\"STYLE2\"><span class=\"STYLE3\"><a href=\"index.jsp\">首页</a></span></span></td>\n");
      out.write("                                                  </tr>\n");
      out.write("                                                </table>\n");
      out.write("                                                <table width=\"415\" border=\"0\" align=\"center\">\n");
      out.write("  <tr>\n");
      out.write("    <td width=\"409\" bgcolor=\"#CCCCCC\">新用户请先注册</td>\n");
      out.write("  </tr>\n");
      out.write("  <tr><td>&nbsp;</td></tr>\n");
      out.write("  <tr>\n");
      out.write("    <td align=\"center\"><form id=\"form1\" name=\"form1\" method=\"post\" action=\"Userregedit.jsp\">\n");
      out.write("      <label>\n");
      out.write("      <input type=\"submit\" name=\"Submit\" value=\"注册新用户\" />\n");
      out.write("      </label>\n");
      out.write("            </form></td>\n");
      out.write("  </tr>\n");
      out.write("  <tr><td>&nbsp;</td></tr>\n");
      out.write("  <tr><td>&nbsp;</td></tr>\n");
      out.write("  <tr>\n");
      out.write("    <td bgcolor=\"#CCCCCC\">会员登录</td>\n");
      out.write("  </tr>\n");
      out.write("  <tr><td>&nbsp;</td></tr>\n");
      out.write("  <tr><td>&nbsp;</td></tr>\n");
      out.write("  <tr>\n");
      out.write("    <td align=\"center\"><form id=\"form2\" name=\"form2\" method=\"post\" action=\"Usercheck.jsp\">\n");
      out.write("      用户名:\n");
      out.write("      <label>\n");
      out.write("      <input type=\"text\" name=\"uname\"  size=\"20\"/>\n");
      out.write("      </label>\n");
      out.write("        <p>密&nbsp;码:\n");
      out.write("          <label>\n");
      out.write("          <input type=\"password\" name=\"upassword\"  size=\"20\"/>\n");
      out.write("          </label>\n");
      out.write("</p>      \n");
      out.write("       <p>验证码:\n");
      out.write("<input name=\"rand\" type=\"text\" size=\"10\" value=\"\">\n");
      out.write("<img border=0 src=\"image.jsp\">\n");
      out.write("</p>\n");
      out.write("        <p>\n");
      out.write("          <label>\n");
      out.write("          <input type=\"submit\" name=\"Submit2\" value=\"登录\" />\n");
      out.write("          </label>\n");
      out.write("        </p>\n");
      out.write("    </form>    </td>\n");
      out.write("  </tr>\n");
      out.write("  <tr>\n");
      out.write("    <td height=\"50\">&nbsp;</td>\n");
      out.write("  </tr>\n");
      out.write(" \n");
      out.write("    <tr>\n");
      out.write("    <td height=\"169\" align=\"center\" valign=\"middle\" class=\"STYLE2\">版权所有@2008,保留所有权利,Live在线书店 <br />\n");
      out.write("      技术支持:Java工作实验室<br />\n");
      out.write("    最后更新:2008年11月2日</td>\n");
      out.write("  </tr>\n");
      out.write(" \n");
      out.write("</table>\n");
      out.write("</body>\n");
      out.write("   \n");
      out.write("</html>\n");
    } catch (Throwable t) {
      if (!(t instanceof SkipPageException)){
        out = _jspx_out;
        if (out != null && out.getBufferSize() != 0)
          try { out.clearBuffer(); } catch (java.io.IOException e) {}
        if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
      }
    } finally {
      _jspxFactory.releasePageContext(_jspx_page_context);
    }
  }
}

⌨️ 快捷键说明

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