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

📄 index_jsp.java

📁 Name: Book shop manager. 开发语言: Java
💻 JAVA
📖 第 1 页 / 共 2 页
字号:
package org.apache.jsp;

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

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

  private static java.util.Vector _jspx_dependants;

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

  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=GB2312");
      pageContext = _jspxFactory.getPageContext(this, request, response,
      			"error.jsp", true, 8192, true);
      _jspx_page_context = pageContext;
      application = pageContext.getServletContext();
      config = pageContext.getServletConfig();
      session = pageContext.getSession();
      out = pageContext.getOut();
      _jspx_out = out;

      out.write("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\"\r\n");
      out.write("\"http://www.w3.org/TR/html4/loose.dtd\">\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      bookmanager.Index1Bean index1bean = null;
      synchronized (_jspx_page_context) {
        index1bean = (bookmanager.Index1Bean) _jspx_page_context.getAttribute("index1bean", PageContext.PAGE_SCOPE);
        if (index1bean == null){
          index1bean = new bookmanager.Index1Bean();
          _jspx_page_context.setAttribute("index1bean", index1bean, PageContext.PAGE_SCOPE);
        }
      }
      out.write('\r');
      out.write('\n');
request.setCharacterEncoding("gb2312");
      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>图书管理系统</title>\r\n");
      out.write("<style type=\"text/css\">\r\n");
      out.write("  <!--\r\n");
      out.write("    @import url(\"images/s.css\");\r\n");
      out.write("  -->\r\n");
      out.write("</style>\r\n");
      out.write("<style type=\"text/css\">\r\n");
      out.write("  <!--\r\n");
      out.write("    a {\r\n");
      out.write("    font-family: Arial, Helvetica, sans-serif;\r\n");
      out.write("    font-size: 11px;\r\n");
      out.write("    }\r\n");
      out.write("    a:link {\r\n");
      out.write("    text-decoration: none;\r\n");
      out.write("    color: #0066FF;\r\n");
      out.write("    }\r\n");
      out.write("    a:visited {\r\n");
      out.write("    text-decoration: none;\r\n");
      out.write("    color: #999966;\r\n");
      out.write("    }\r\n");
      out.write("    a:hover {\r\n");
      out.write("    text-decoration: none;\r\n");
      out.write("    color: #33FF00;\r\n");
      out.write("    }\r\n");
      out.write("    a:active {\r\n");
      out.write("    text-decoration: none;\r\n");
      out.write("    color: #00CC33;\r\n");
      out.write("    }\r\n");
      out.write("    .style1 {\tcolor: #FFFF00;\r\n");
      out.write("    font-weight: bold;\r\n");
      out.write("    }\r\n");
      out.write("    .style2 {\tcolor: #00FF00;\r\n");
      out.write("    font-weight: bold;\r\n");
      out.write("    }\r\n");
      out.write("    body,td,th {\r\n");
      out.write("    color: #FF0000;\r\n");
      out.write("    font-size: 13px;\r\n");
      out.write("    }\r\n");
      out.write("    .style3 {\r\n");
      out.write("    font-size: 13px;\r\n");
      out.write("    color: #996633;\r\n");
      out.write("    }\r\n");
      out.write("\r\n");
      out.write(".style4 {\r\n");
      out.write("\tcolor: #999933;\r\n");
      out.write("        font-size: 14px;\r\n");
      out.write("\r\n");
      out.write("}\r\n");
      out.write(".style15 {font-size: 13px; color: #0099FF; }\r\n");
      out.write("\r\n");
      out.write("  -->\r\n");
      out.write("</style>\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("<script language=\"javascript\">\r\n");
      out.write("\r\n");
      out.write("function openScript(url,name, width, height){\r\n");
      out.write("\tvar Win = window.open(url,name,'width=' + width + ',height=' + height + ',resizable=1,scrollbars=yes,menubar=no,status=yes' );\r\n");
      out.write("}\r\n");
      out.write("\r\n");
      out.write("function checkform() {\r\n");
      out.write("\tif (document.form1.username.value==\"\"){\r\n");
      out.write("\t\talert(\"用户名不能为空\");\r\n");
      out.write("\t\tdocument.form1.username.focus();\r\n");
      out.write("\t\treturn false;\r\n");
      out.write("\t}\r\n");
      out.write("\tif (document.form1.password.value==\"\"){\r\n");
      out.write("\t\talert(\"用户密码不能为空\");\r\n");
      out.write("\t\tdocument.form1.password.focus();\r\n");
      out.write("\t\treturn false;\r\n");
      out.write("\t}\r\n");
      out.write("\r\n");
      out.write("\treturn true;\r\n");
      out.write("}\r\n");
      out.write("\r\n");
      out.write("</script>\r\n");
      out.write("</head>\r\n");
      out.write("<body>\r\n");
      out.write("<table width=\"700\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">\r\n");
      out.write("  <tr>\r\n");
      out.write("    <td height=\"100\" colspan=\"5\">\r\n");
      out.write("      <p align=\"center\">\r\n");
      out.write("        <img src=\"images/head.gif\" width=\"707\" height=\"100\">\r\n");
      out.write("      </p>\r\n");
      out.write("    </td>\r\n");
      out.write("  </tr>\r\n");
      out.write("  <tr align=\"center\" valign=\"middle\">\r\n");
      out.write("    <td width=\"700\" height=\"22\">\r\n");
      out.write("      <img src=\"images/009.gif\" width=\"28\" height=\"22\">\r\n");
      out.write("      <a href=\"index.jsp\">\r\n");
      out.write("        <strong>首页</strong>\r\n");
      out.write("      </a>\r\n");
      out.write("    </td>\r\n");

⌨️ 快捷键说明

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