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

📄 longin_jsp.java

📁 Bug Barrier事务系统 项目内容:对软件开发中的bug进行管理 主要模块:项目组长事物模块、开发人员事物模块、 测试人员事物模块、无项目人员模块 开发平台: Windows2000 Se
💻 JAVA
字号:
package org.apache.jsp;

import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import org.apache.jasper.runtime.*;

public class longin_jsp extends HttpJspBase {


  private static java.util.Vector _jspx_includes;

  public java.util.List getIncludes() {
    return _jspx_includes;
  }

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

    JspFactory _jspxFactory = null;
    javax.servlet.jsp.PageContext pageContext = null;
    HttpSession session = null;
    ServletContext application = null;
    ServletConfig config = null;
    JspWriter out = null;
    Object page = this;
    JspWriter _jspx_out = null;


    try {
      _jspxFactory = JspFactory.getDefaultFactory();
      response.setContentType("text/html; charset=gb2312");
      pageContext = _jspxFactory.getPageContext(this, request, response,
      			null, true, 8192, true);
      application = pageContext.getServletContext();
      config = pageContext.getServletConfig();
      session = pageContext.getSession();
      out = pageContext.getOut();
      _jspx_out = out;

      out.write("\r\n\r\n ");
      out.write("<!--\r\n页面要求:1、此页面为登陆页面,用于判断登陆用户权限\r\n-->\r\n\r\n");
      out.write("<html>\r\n\t");
      out.write("<head>\r\n\t\t");
      out.write("<title>登陆页面");
      out.write("</title>\r\n\t\t");
      out.write("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\">\r\n\t\t");
      out.write("<style type=\"text/css\"> \r\n\t\t");
      out.write("<!-- .style4 {font-size: xx-large; color: #CCCCCC; font-weight: bold; font-family: \"华文隶书\", \"华文楷体\", \"华文行楷\", \"隶书\";}\r\n\t.style5 { font-size: x-large; font-family: \"华文隶书\", \"华文楷体\", \"华文行楷\", \"隶书\"; color: #FFFF00; }\r\n\t.style6 { font-size: x-large; font-family: \"华文隶书\", \"华文楷体\", \"华文行楷\", \"隶书\"; color: #0066FF; }\r\n\t-->");
      out.write("</style>\r\n\r\n\t");
      out.write("<script id=clientEventHandlersJS language=javascript>\r\n\t");
      out.write("<!--\r\n\t\tfunction Submit1_onclick() {\r\n\t\t\tif(document.form1.name.value==\"\" || document.form1.name.value==null )\r\n\t\t\t{\r\n\t\t\t\talert(\"请输入用户名!\");\r\n\t\t\t\tdocument.form1.name.focus();\r\n\t\t\t\treturn false;\r\n\t\t\t}\r\n\t\t\tif(document.form1.password.value==null || document.form1.password.value==\"\")\r\n\t\t\t{\r\n\t\t\t\talert(\"请输入密码!\");\r\n\t\t\t\tdocument.form1.password.focus();\r\n\t\t\t\treturn false;\r\n\t\t\t}\r\n\t\t}\r\n\t//-->\r\n");
      out.write("</script>\r\n\r\n");
      out.write("</head>\r\n\r\n\r\n");
      gerenxinxi.gerenxinxi yonghu1 = null;
      synchronized (session) {
        yonghu1 = (gerenxinxi.gerenxinxi) pageContext.getAttribute("yonghu1", PageContext.SESSION_SCOPE);
        if (yonghu1 == null){
          try {
            yonghu1 = (gerenxinxi.gerenxinxi) java.beans.Beans.instantiate(this.getClass().getClassLoader(), "gerenxinxi.gerenxinxi");
          } catch (ClassNotFoundException exc) {
            throw new InstantiationException(exc.getMessage());
          } catch (Exception exc) {
            throw new ServletException("Cannot create bean of class " + "gerenxinxi.gerenxinxi", exc);
          }
          pageContext.setAttribute("yonghu1", yonghu1, PageContext.SESSION_SCOPE);
          out.write("\r\n");
        }
      }
      out.write("<!--yonghu1用于存储登陆用户个人信息。-->\r\n");
      java.lang.String xinxi = null;
      synchronized (request) {
        xinxi = (java.lang.String) pageContext.getAttribute("xinxi", PageContext.REQUEST_SCOPE);
        if (xinxi == null){
          try {
            xinxi = (java.lang.String) java.beans.Beans.instantiate(this.getClass().getClassLoader(), "java.lang.String");
          } catch (ClassNotFoundException exc) {
            throw new InstantiationException(exc.getMessage());
          } catch (Exception exc) {
            throw new ServletException("Cannot create bean of class " + "java.lang.String", exc);
          }
          pageContext.setAttribute("xinxi", xinxi, PageContext.REQUEST_SCOPE);
          out.write("\r\n");
        }
      }
      out.write("<!--xinxi用于显示提示信息-->\r\n\r\n\t");
      out.write("<body background=\"home/dl.jpg\">\r\n\r\n\t\t");
      out.write("<p>&nbsp;");
      out.write("</p>\r\n\t\t");
      out.write("<p>&nbsp;");
      out.write("</p>\r\n\t\t");
      out.write("<p>&nbsp;");
      out.write("</p>\r\n\t\t");
      out.write("<p>&nbsp;");
      out.write("</p>\r\n\t\t");
      out.write("<p>&nbsp;");
      out.write("</p>\r\n\t\t");
      out.write("<p>&nbsp;");
      out.write("</p>\r\n\t\t");
      out.write("<table width=\"80%\" height=\"120\" align=\"center\" border=\"0\">\r\n\t\t");
      out.write("<!--\r\n\t\t\t表单:\r\n\t\t\t     form1 处理类 longin.do\r\n\t\t\t属性:\r\n\t\t\t       用户名:name\r\n\t\t\t\t   密码:  password\r\n\t\t-->\r\n\t\t\t");
      out.write("<form name=\"form1\" method=\"post\" action=\"longin.do\">\r\n\t\t\r\n\t\t\t\t\t");
      out.write("<tr>\r\n\t\t\t\t\t\t");
      out.write("<td height=\"33\" colspan=\"4\" class=\"style4\">&nbsp;");
      out.write("</td>\r\n\t\t\t\t\t");
      out.write("</tr>\r\n\t\t\t\t\t");
      out.write("<tr>\r\n\t\t\t\t\t\t");
      out.write("<td width=\"259\" height=\"41\">&nbsp;");
      out.write("</td>\r\n\t\t\t\t\t\t");
      out.write("<td width=\"87\">");
      out.write("<span class=\"style6\">用户:");
      out.write("</span>");
      out.write("</td>\r\n\t\t\t\t\t\t");
      out.write("<td width=\"120\">");
      out.write("<input name=\"name\" type=\"text\" size=\"20\">");
      out.write("</td>\r\n\t\t\t\t\t\t");
      out.write("<td  align=\"left\">");
      out.write("<font color=\"#FF0000\">");
      out.print(xinxi );
      out.write("</font>");
      out.write("</td>\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t");
      out.write("</tr>\r\n\t\t\t\t\t");
      out.write("<tr>\r\n\t\t\t\t\t\t");
      out.write("<td>&nbsp;");
      out.write("</td>\r\n\t\t\t\t\t\t");
      out.write("<td>");
      out.write("<span class=\"style6\">密码:");
      out.write("</span>");
      out.write("</td>\r\n\t\t\t\t\t\t");
      out.write("<td>\r\n\t\t\t\t\t\t\t");
      out.write("<input name=\"password\" type=\"password\" size=\"20\">\r\n\t\t\t\t\t\t");
      out.write("</td>\r\n\t\t\t\t\t\t");
      out.write("<td align=\"right\">");
      out.write("<span class=\"style4\">");
      out.write("</span>");
      out.write("</td>\r\n\t\t\t\t\t");
      out.write("</tr>\r\n\t\t\t\t\t");
      out.write("<tr bordercolor=\"#ffffff\">\r\n\t\t\t\t\t\t");
      out.write("<td height=\"33\" colspan=\"2\" align=\"middle\" class=\"style4\">\r\n\t\t\t\t\t\t\t");
      out.write("<span class=\"style4\">");
      out.write("</span>\r\n\t\t\t\t\t\t");
      out.write("</td>\r\n\t\t\t\t\t\t");
      out.write("<td height=\"33\" align=\"left\" class=\"style4\">");
      out.write("<input type=\"submit\" name=\"Submit\" value=\"登陆 BugBarrier\" id=\"Submit1\" onclick=\"return Submit1_onclick()\">");
      out.write("</td>\r\n\t\t\t\t\t\t");
      out.write("<td>");
      out.write("</td>\r\n\t\t\t\t\t");
      out.write("</tr>\r\n\t\t\t");
      out.write("</form>\r\n\t\t\t");
      out.write("<tr>");
      out.write("<td colspan=\"2\">\r\n\t\t");
      out.write("</table>\r\n\t\t");
      out.write("<p>&nbsp;");
      out.write("</p>\r\n\t\t");
      out.write("<p>\r\n\t\t");
      out.write("</p>\r\n\t");
      out.write("</body>\r\n");
      out.write("</html>\r\n");
    } catch (Throwable t) {
      out = _jspx_out;
      if (out != null && out.getBufferSize() != 0)
        out.clearBuffer();
      if (pageContext != null) pageContext.handlePageException(t);
    } finally {
      if (_jspxFactory != null) _jspxFactory.releasePageContext(pageContext);
    }
  }
}

⌨️ 快捷键说明

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