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

📄 introduce_jsp.java

📁 实现基本的书店管理
💻 JAVA
字号:
package org.apache.jsp;

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

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

  private static java.util.List _jspx_dependants;

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

  public Object 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,
      			"", 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("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">\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(".introname {\r\n");
      out.write("\tcolor: #CC6600;\r\n");
      out.write("\tfont-size: 36px;\r\n");
      out.write("}\r\n");
      out.write(".style4 {\r\n");
      out.write("\tcolor: #000000;\r\n");
      out.write("\tfont-size: 15px;\r\n");
      out.write("}\r\n");
      out.write("-->\r\n");
      out.write("</style>\r\n");
      out.write("</head>\r\n");
      out.write("<body>\r\n");
      out.write('\r');
      out.write('\n');
      DateBean.MyDate showdate = null;
      synchronized (_jspx_page_context) {
        showdate = (DateBean.MyDate) _jspx_page_context.getAttribute("showdate", PageContext.PAGE_SCOPE);
        if (showdate == null){
          showdate = new DateBean.MyDate();
          _jspx_page_context.setAttribute("showdate", showdate, PageContext.PAGE_SCOPE);
        }
      }
      out.write("\r\n");
      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("<html>\r\n");
      out.write("\r\n");
      out.write("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\">\r\n");
      out.write("\r\n");
      out.write("<style type=\"text/css\">\r\n");
      out.write("<!--\r\n");
      out.write("body {\r\n");
      out.write("\tbackground-color: #FFFFFF;\r\n");
      out.write("\tmargin-left: 0px;\r\n");
      out.write("\tmargin-top: 0px;\r\n");
      out.write("\tmargin-right: 0px;\r\n");
      out.write("\tmargin-bottom: 0px;\r\n");
      out.write("}\r\n");
      out.write(".bannnername {\r\n");
      out.write("\tfont-size: 50px;\r\n");
      out.write("\tcolor: #000000;\r\n");
      out.write("\tfont-weight: bold;\r\n");
      out.write("\tfont-family: \"黑体\";\r\n");
      out.write("}\r\n");
      out.write(".style3 {font-size: 12px}\r\n");
      out.write("-->\r\n");
      out.write("</style>\r\n");
      out.write("\r\n");
      out.write("<body>\r\n");
      out.write("<table width=\"72%\"  border=\"0\" align=\"center\" bgcolor=\"99CCCC\">\r\n");
      out.write("  <tr>\r\n");
      out.write("    <td height=\"10\"></td>\r\n");
      out.write("  </tr>\r\n");
      out.write("</table>\r\n");
      out.write("<table width=\"72%\" height=\"88\"  border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">\r\n");
      out.write("  <tr>\r\n");
      out.write("    <td width=\"245\" height=\"88\" valign=\"top\"><img src=\"images/top.gif\"></td>\r\n");
      out.write("    <td width=\"365\" align=\"left\" valign=\"top\">\r\n");
      out.write("      <marquee direction=\"left\" scrolldelay=\"100\">\r\n");
      out.write("    </marquee>      \r\n");
      out.write("    <table width=\"100%\"  border=\"0\">\r\n");
      out.write("      <tr>\r\n");
      out.write("        <td><img src=\"images/banner.gif\" width=\"365\" height=\"46\"></td>\r\n");
      out.write("      </tr>\r\n");
      out.write("      <tr>\r\n");
      out.write("        <td>今天是");
      out.print(showdate.getDate());
      out.write("</td>\r\n");
      out.write("      </tr>\r\n");
      out.write("    </table></td>\r\n");
      out.write("    <td width=\"84\" align=\"left\" valign=\"middle\"><table width=\"100%\"  border=\"0\">\r\n");
      out.write("      <tr>\r\n");
      out.write("        <td><img src=\"images/top_home.gif\" width=\"13\" height=\"12\"><span class=\"style3\"><a onclick=\"this.style.behavior='url(#default#homepage)';this.sethomepage('http://www.qichunren.com');return false;\" href=\"http://www.qichunren.com\" title=\"将本站设为你的首页\">设为首页</a></span>          </td>\r\n");
      out.write("      </tr>\r\n");
      out.write("      <tr>\r\n");
      out.write("        <td><img src=\"images/top_gift.gif\" width=\"13\" height=\"12\"><span class=\"style3\"><a href=\"javascript:window.external.AddFavorite(location.href,document.title)\" title=\"将本站加入到你的收藏夹\" class=\"navbar\">加入收藏</a></span></td>\r\n");
      out.write("      </tr>\r\n");
      out.write("      <tr>\r\n");
      out.write("        <td><img src=\"images/top_mail.gif\" width=\"14\" height=\"12\"><span class=\"style3\"><a href=\"guestbook/guestbook_index.jsp\" target=\"_self\">留言建议</a></span></td>\r\n");
      out.write("      </tr>\r\n");
      out.write("      <tr>\r\n");
      out.write("        <td><img src=\"images/top_home.gif\" width=\"13\" height=\"12\"><span class=\"style3\"><a href=\"index.jsp\" target=\"_self\">回到首页</a></span></td>\r\n");
      out.write("      </tr>\r\n");
      out.write("    </table>      \r\n");
      out.write("    </td>\r\n");
      out.write("  </tr>\r\n");
      out.write("</table>\r\n");
      out.write("<table width=\"72%\"  border=\"0\" align=\"center\">\r\n");
      out.write("  <tr>\r\n");
      out.write("    <td height=\"6\" bgcolor=\"#000000\"></td>\r\n");
      out.write("  </tr>\r\n");
      out.write("</table>\r\n");
      out.write("</body>\r\n");
      out.write("</html>\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("<div align=\"center\" class=\"introname\"><strong>学院图书馆介绍</strong></div>\r\n");
      out.write("<br>\r\n");
      out.write("<table width=\"72%\"  border=\"0\" align=\"center\">\r\n");
      out.write("  <tr><td><span class=\"style4\">&nbsp;&nbsp;&nbsp;成都信息工程学院<br>\r\n");
      out.write("&nbsp;&nbsp;&nbsp;图书馆</span></td></tr>\r\n");
      out.write("  <tr>\r\n");
      out.write("    <td align=\"center\" valign=\"top\"><img src=\"images/444f.jpg\"></td>\r\n");
      out.write("  </tr>\r\n");
      out.write("</table>\r\n");
      out.write("\r\n");
      out.write("</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);
    }
  }
}

⌨️ 快捷键说明

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