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

📄 login_jsp.java

📁 自己写的一个java购销系统
💻 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 java.util.List _jspx_dependants;

  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_html_errors_nobody;

  public Object getDependants() {
    return _jspx_dependants;
  }

  public void _jspInit() {
    _jspx_tagPool_html_errors_nobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
  }

  public void _jspDestroy() {
    _jspx_tagPool_html_errors_nobody.release();
  }

  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("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("<!--文件头开始-->\r\n");
      out.write("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">\r\n");
      out.write("<html>\r\n");
      out.write("\t<head>\r\n");
      out.write("\t\t<meta http-equiv=\"Content-Language\" content=\"zh-cn\">\r\n");
      out.write("\t\t<meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\">\r\n");
      out.write("\t\t<meta name=\"description\" content=\"达内电子商务门户\">\r\n");
      out.write("\t\t<title>本商城</title>\r\n");
      out.write("\t\t<LINK href=\"css/tarena.css\" rel=stylesheet>\r\n");
      out.write("\t\t<script language = \"JavaScript\" src = \"js/tarena.js\"></script>\r\n");
      out.write("\t</head>\r\n");
      out.write("\t<body onLoad=\"MM_preloadImages('images/index_on.gif','images/reg_on.gif','images/order_on.gif','../images/top/topxmas/jp_on.gif','../images/top/topxmas/download_on.gif','../images/top/topxmas/bbs_on.gif','../images/top/topxmas/designwz_on.gif')\" topmargin=\"0\" leftmargin=\"0\" rightmargin=\"0\" bottommargin=\"0\">\r\n");
      out.write("\t\t<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" id=\"table2\">\r\n");
      out.write("\t\t  <tr>\r\n");
      out.write("\t\t    <td align=\"left\" width=\"7%\" background=\"images/top_bg.gif\"><img src=\"images/logo.gif\" width=\"286\" height=\"58\"></td>\r\n");
      out.write("\t\t    <td width=\"62%\" background=\"images/top_bg.gif\"> </td>\r\n");
      out.write("\t\t    <td width=\"31%\" background=\"images/top_bg.gif\" align=\"right\">\r\n");
      out.write("\t\t\t<img src=\"images/top_r.gif\" width=\"352\" height=\"58\" border=\"0\"></td>\r\n");
      out.write("\t\t  </tr>\r\n");
      out.write("\t\t</table>\r\n");
      out.write("\t\t<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\r\n");
      out.write("\t\t  <tr>\r\n");
      out.write("\t\t    <td background=\"images/dh_bg.gif\" align=\"left\" height=\"12\">\r\n");
      out.write("\t\t      <table width=\"100\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" align=\"center\">\r\n");
      out.write("\t\t        <tr>\r\n");
      out.write("\t\t          <td width=\"5%\"> </td>\r\n");
      out.write("\t\t          <td width=\"10%\"><a href=\"index.html\" onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage('Image1','','images/index_on.gif',1)\">\r\n");
      out.write("\t\t\t\t\t<img name=\"Image1\" border=\"0\" src=\"images/index.gif\" width=\"90\" height=\"36\"></a></td>\r\n");
      out.write("\t\t          <td width=\"10%\"><a href=\"user/userinfo.html\" onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage('Image2','','images/reg_on.gif',1)\">\r\n");
      out.write("\t\t\t\t\t<img name=\"Image2\" border=\"0\" src=\"images/reg.gif\" width=\"92\" height=\"36\"></a></td>\r\n");
      out.write("\t\t          <td width=\"10%\"><a href=\"shopcart.html\" onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage('Image4','','images/carts_on.gif',1)\">\r\n");
      out.write("\t\t\t\t\t<img name=\"Image4\" border=\"0\" src=\"images/cart.gif\" width=\"92\" height=\"36\"></a></td>\r\n");
      out.write("\t\t          <td width=\"10%\"><a href=\"user/order.html\" onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage('Image5','','images/order_on.gif',1)\">\r\n");
      out.write("\t\t\t\t\t<img name=\"Image5\" border=\"0\" src=\"images/order.gif\" width=\"92\" height=\"36\"></a></td>\r\n");
      out.write("\t\t          <td width=\"10%\"><a href=\"index.html\" onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage('Image6','','images/exit_on.gif',1)\">\r\n");
      out.write("\t\t\t\t\t<img name=\"Image6\" border=\"0\" src=\"images/exit.gif\" width=\"92\" height=\"36\"></a></td>\r\n");
      out.write("\t\t        </tr>\r\n");
      out.write("\t\t      </table>\r\n");
      out.write("\t\t    </td>\r\n");
      out.write("\t\t  </tr>\r\n");
      out.write("\t\t</table>\r\n");
      out.write("\t\t<table cellspacing=\"1\" cellpadding=\"3\" align=\"center\" border=\"0\" width=\"98%\">\r\n");
      out.write("\t\t<tr>\r\n");
      out.write("\t\t<td width=\"65%\"><BR>\r\n");
      out.write("\t\t>> 欢迎访问 <b>达内电子商务门户</b> </td>\r\n");
      out.write("\t\t<td width=\"35%\" align=\"right\">\r\n");
      out.write("\r\n");
      out.write("\t\t</td></tr></table>\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("<!--文件体开始-->\r\n");
      out.write("\r\n");
      out.write("\t\t<table cellspacing=1 cellpadding=3 align=center class=tableBorder2>\r\n");
      out.write("\t\t<tr>\r\n");
      out.write("\t\t<td height=25 valign=middle>\r\n");
      out.write("                  <img src=\"images/Forum_nav.gif\" align=\"absmiddle\">\r\n");
      out.write("                  <a href=index.jsp>达内电子商务门户</a> → 用户登录\r\n");
      out.write("                </td>\r\n");
      out.write("                </tr>\r\n");
      out.write("\t\t</table>\r\n");
      out.write("              <br>\r\n");
      out.write("\t");
      if (_jspx_meth_html_errors_0(_jspx_page_context))
        return;
      out.write("\r\n");
      out.write("\t<form action=\"");
      out.print( request.getContextPath());
      out.write("/user/login.do\" method=\"post\">\r\n");
      out.write("\t\t<table cellpadding=3 cellspacing=1 align=center class=tableborder1>\r\n");
      out.write("\t\t<tr>\r\n");
      out.write("\t\t\t<td valign=middle colspan=2 align=center height=25 background=\"images/bg2.gif\" ><font color=\"#ffffff\"><b>输入您的用户名、密码登录</b></font></td>\r\n");
      out.write("\t\t</tr>\r\n");
      out.write("\t\t<tr>\r\n");
      out.write("\t\t<td valign=middle class=tablebody1>请输入您的用户名</td>\r\n");
      out.write("\t\t\t<td valign=middle class=tablebody1><INPUT name=\"username\" type=text> &nbsp;\r\n");
      out.write("\t\t\t\t<a href=\"register.jsp\">没有注册?</a>\r\n");
      out.write("\t\t\t</td>\r\n");
      out.write("\t\t</tr>\r\n");
      out.write("\t\t<tr>\r\n");
      out.write("\t\t\t<td valign=middle class=tablebody1>请输入您的密码</td>\r\n");
      out.write("\t\t\t<td valign=middle class=tablebody1><INPUT name=\"password\" type=password> &nbsp; <!--html:errors property=\"\"/--></td>\r\n");
      out.write("\t\t</tr>\r\n");
      out.write("\t\t<tr>\r\n");
      out.write("\t\t\t<td class=tablebody2 valign=middle colspan=2 align=center><input type=\"submit\" value=\"登 录\"></td>\r\n");
      out.write("\t\t</tr>\r\n");
      out.write("\t\t</table>\r\n");
      out.write("\t</form>\r\n");
      out.write("<!--文件尾开始-->\r\n");
      out.write("\t\t<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" align=\"center\" height=\"28\">\r\n");
      out.write("\t\t  <tr>\r\n");
      out.write("\t\t    <td height=\"17\" background=\"images/bot_bg.gif\">\r\n");
      out.write("\t\t       </td>\r\n");
      out.write("\t\t  </tr>\r\n");
      out.write("\t\t</table>\r\n");
      out.write("\t\t<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" align=\"center\">\r\n");
      out.write("\t\t  <tr>\r\n");
      out.write("\t\t    <td bgcolor=\"#f1f1f6\" height=\"53\" valign=\"center\">\r\n");
      out.write("\t\t\t<p align=\"center\">Copyright &copy;2004 - 2005 <a href=\"http://www.tarena.com.cn\"><b><font face=\"Verdana,\">Tarena</font></b><font color=#CC0000>.com.cn</font></a><br>\r\n");
      out.write("\t\t\t</td>\r\n");
      out.write("\t\t  </tr>\r\n");
      out.write("\t\t</table>\r\n");
      out.write("\t</body>\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);
    }
  }

  private boolean _jspx_meth_html_errors_0(PageContext _jspx_page_context)
          throws Throwable {
    PageContext pageContext = _jspx_page_context;
    JspWriter out = _jspx_page_context.getOut();
    //  html:errors
    org.apache.struts.taglib.html.ErrorsTag _jspx_th_html_errors_0 = (org.apache.struts.taglib.html.ErrorsTag) _jspx_tagPool_html_errors_nobody.get(org.apache.struts.taglib.html.ErrorsTag.class);
    _jspx_th_html_errors_0.setPageContext(_jspx_page_context);
    _jspx_th_html_errors_0.setParent(null);
    int _jspx_eval_html_errors_0 = _jspx_th_html_errors_0.doStartTag();
    if (_jspx_th_html_errors_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _jspx_tagPool_html_errors_nobody.reuse(_jspx_th_html_errors_0);
      return true;
    }
    _jspx_tagPool_html_errors_nobody.reuse(_jspx_th_html_errors_0);
    return false;
  }
}

⌨️ 快捷键说明

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