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

📄 login_jsp.java

📁 基于mvc的宠物管理系统。servlet+jsp
💻 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.Vector _jspx_dependants;

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

  public java.util.List getDependants() {
    return _jspx_dependants;
  }

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

  public void _jspDestroy() {
    _jspx_tagPool_c_if_test.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\r\n\r\n<html>\r\n<head>\r\n<title>\r\nlogin\r\n</title>\r\n <style type=\"text/css\">\r\n      body{font-size:12px}\r\n      td{font-size:12px; }\r\n      th{font-size:13px;color:#3a64a2}\r\n      a:link { COLOR:#09355E;TEXT-DECORATION: none;}\r\n      a:visited{COLOR:#09355E;TEXT-DECORATION: none;}\r\n      a:hover{COLOR:#3A64A2;TEXT-DECORATION: none;}\r\n.STYLE2 {\r\n\tcolor: #FF0000;\r\n\tfont-size: 14px;\r\n\tfont-weight: bold;\r\n}\r\n .STYLE3 {color: #FF0000}\r\n </style>\r\n</head>\r\n<body bgcolor=\"c8d8ef\">\r\n<br><br>\r\n<table width=\"80%\" height=\"509\" border=\"0\" align=\"center\" cellspacing=\"0\" background=\"images/login.jpg\">\r\n<tr>\r\n<td height=\"508\">\r\n<form action=\"checkcontrol?param=check\" method=\"post\">\r\n<table width=\"309\" height=\"148\">\r\n<tr>\r\n<td height=\"30\" colspan=\"2\">\r\n  <div align=\"center\" class=\"STYLE2\">\r\n   <div align=\"center\">用户登陆  </div>\r\n  </div></td>\r\n</tr>\r\n<tr>\r\n<td width=\"126\" height=\"27\"> <div align=\"right\">用户名:</div></td>\r\n<td width=\"171\">\r\n<input type=\"text\" name=\"employeeName\">\r\n</td>\r\n</tr>\r\n<tr>\r\n<td height=\"30\">\r\n  <div align=\"right\">密码:\r\n");
      out.write("  </div></td>\r\n<td>\r\n<input type=\"password\" name=\"password\" style=\"height:22px; width:152px\">\r\n</td>\r\n</tr>\r\n<tr>\r\n<td>\r\n</td>\r\n<td><input name=\"\" type=\"submit\" value=\"登陆\"><input name=\"\" type=\"reset\" value=\"取消\">\r\n</td>\r\n</tr>\r\n<tr>\r\n  <td colspan=\"2\"><span class=\"STYLE3\">\r\n    ");
      if (_jspx_meth_c_if_0(_jspx_page_context))
        return;
      out.write("\r\n    </span>\r\n    ");
      if (_jspx_meth_c_if_1(_jspx_page_context))
        return;
      out.write("\r\n</td>\r\n</tr>\r\n\r\n</table>\r\n</form>\r\n</td>\r\n</tr>\r\n</table>\r\n</body>\r\n</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_c_if_0(PageContext _jspx_page_context)
          throws Throwable {
    PageContext pageContext = _jspx_page_context;
    JspWriter out = _jspx_page_context.getOut();
    //  c:if
    org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_if_0 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _jspx_tagPool_c_if_test.get(org.apache.taglibs.standard.tag.rt.core.IfTag.class);
    _jspx_th_c_if_0.setPageContext(_jspx_page_context);
    _jspx_th_c_if_0.setParent(null);
    _jspx_th_c_if_0.setTest(((java.lang.Boolean) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${sessionScope.error==123}", java.lang.Boolean.class, (PageContext)_jspx_page_context, null, false)).booleanValue());
    int _jspx_eval_c_if_0 = _jspx_th_c_if_0.doStartTag();
    if (_jspx_eval_c_if_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
      do {
        out.write("\r\n    ");
        int evalDoAfterBody = _jspx_th_c_if_0.doAfterBody();
        if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
          break;
      } while (true);
    }
    if (_jspx_th_c_if_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
      return true;
    _jspx_tagPool_c_if_test.reuse(_jspx_th_c_if_0);
    return false;
  }

  private boolean _jspx_meth_c_if_1(PageContext _jspx_page_context)
          throws Throwable {
    PageContext pageContext = _jspx_page_context;
    JspWriter out = _jspx_page_context.getOut();
    //  c:if
    org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_if_1 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _jspx_tagPool_c_if_test.get(org.apache.taglibs.standard.tag.rt.core.IfTag.class);
    _jspx_th_c_if_1.setPageContext(_jspx_page_context);
    _jspx_th_c_if_1.setParent(null);
    _jspx_th_c_if_1.setTest(((java.lang.Boolean) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${sessionScope.error==123}", java.lang.Boolean.class, (PageContext)_jspx_page_context, null, false)).booleanValue());
    int _jspx_eval_c_if_1 = _jspx_th_c_if_1.doStartTag();
    if (_jspx_eval_c_if_1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
      do {
        out.write("<div align=\"center\" class=\"STYLE3\">请您重新登陆本系统\r\n      </div>\r\n  ");
        int evalDoAfterBody = _jspx_th_c_if_1.doAfterBody();
        if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
          break;
      } while (true);
    }
    if (_jspx_th_c_if_1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
      return true;
    _jspx_tagPool_c_if_test.reuse(_jspx_th_c_if_1);
    return false;
  }
}

⌨️ 快捷键说明

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