home_jsp.java

来自「一个由B/S做的宠物医院」· Java 代码 · 共 77 行

JAVA
77
字号
package org.apache.jsp;

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

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

  private static java.util.Vector _jspx_dependants;

  static {
    _jspx_dependants = new java.util.Vector(5);
    _jspx_dependants.add("/jsp1.jsp");
    _jspx_dependants.add("/jsp2.jsp");
    _jspx_dependants.add("/jsp3.jsp");
    _jspx_dependants.add("/jsp4.jsp");
    _jspx_dependants.add("/jsp5.jsp");
  }

  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=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<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\r\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\r\n<head>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\" />\r\n<!--下面的OBJECT和script语言用于使用Agent-->\r\n<OBJECT id=ml classid=CLSID:D45FD31B-5C6E-11D1-9EC1-00C04FD7081F></OBJECT>\r\n<script type=\"\" language=\"javascript\">\r\nvar  MerlinID;\r\nvar  MerlinACS;\r\nml.Connected=true;\r\nMerlinLoaded=LoadLocalAgent(MerlinID,MerlinACS);\r\nMerlin=ml.Characters.Character(MerlinID);\r\nfunction LoadLocalAgent(CharID,CharACS){\r\n  LoadReq=ml.Characters.Load(CharID,CharACS);\r\n  return(true);\r\n}\r\n</script>\r\n<title>宠物医院主窗口</title>\r\n<!--导入Home页面的样式表-->\r\n<link href=\"Home.css\" rel=\"stylesheet\" type=\"text/css\" />\r\n<!--导入选项卡效果的脚本-->\r\n<script type=\"text/javascript\" src=\"js/Tag.js\"></script>\r\n<!--自动将窗口最大化的脚本-->\r\n<script type=\"\">\r\nself.moveTo(0,0)\r\nself.resizeTo(screen.availWidth,screen.availHeight)\r\n</script>\r\n</head>\r\n<body>\r\n<table cellpadding=\"0\" cellspacing=\"0\">\r\n");
      out.write("<tr>\r\n<td><img alt=\"\" src=\"img/image_1.gif\" /></td>\r\n<td width=\"40\"></td>\r\n<td><img alt=\"\" src=\"img/image_2.gif\" /></td>\r\n</tr>\r\n<tr>\r\n<td colspan=\"3\" height=\"18\"></td>\r\n</tr>\r\n<tr>\r\n<td colspan=\"3\" bgcolor=\"#B4AA9D\"></td>\r\n</tr>\r\n<tr>\r\n<!--此处必须用jsp:include动作来包含htm脚本页面,不然处理中文时会出错-->\r\n<td class=\"datefont\" align=\"left\" colspan=\"3\" bgcolor=\"#CAE8EA\">");
      org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "显示日期.htm", out, true);
      out.write("</td>\r\n</tr>\r\n<tr>\r\n<td colspan=\"3\" bgcolor=\"#B4AA9D\"></td>\r\n</tr>\r\n</table>\r\n<div id=\"container\">\r\n  <div id=\"title\">\r\n    <ul>\r\n      <li id=\"tag1\"><a href=\"#\" onclick=\"switchTag('tag1','content1');this.blur();\" class=\"selectli1\"><span class=\"selectspan1\">员工信息</span></a></li>\r\n      <li id=\"tag2\"><a href=\"#\" onclick=\"switchTag('tag2','content2');this.blur();\"><span>兽医信息</span></a></li>\r\n      <li id=\"tag3\"><a href=\"#\" onclick=\"switchTag('tag3','content3');this.blur();\"><span>宠物信息</span></a></li>\r\n      <li id=\"tag4\"><a href=\"#\" onclick=\"switchTag('tag4','content4');this.blur();\"><span>宠物病历</span></a></li>\r\n      <li id=\"tag5\"><a href=\"#\" onclick=\"switchTag('tag5','content5');this.blur();\"><span>宠物所有人</span></a></li>\r\n    </ul>\r\n  </div>\r\n<div id=\"content\" class=\"content1\">\r\n  <div id=\"content1\">");
      out.write("\r\n<html>\r\n<head>\r\n<title>\r\njsp1\r\n</title>\r\n</head>\r\n<body bgcolor=\"#ffffff\">\r\n<h1>\r\nJBuilder Generated JSP1111111111中文\r\n</h1>\r\n</body>\r\n</html>\r\n");
      out.write("</div>\r\n  <div id=\"content2\" class=\"hidecontent\">");
      out.write("\r\n<html>\r\n<head>\r\n<title>\r\njsp2\r\n</title>\r\n</head>\r\n<body bgcolor=\"#ffffff\">\r\n<h1>\r\nJBuilder Generated JSP222222222\r\n</h1>\r\n</body>\r\n</html>\r\n");
      out.write("</div>\r\n  <div id=\"content3\" class=\"hidecontent\">");
      out.write("\r\n<html>\r\n<head>\r\n<title>\r\njsp3\r\n</title>\r\n</head>\r\n<body bgcolor=\"#ffffff\">\r\n<h1>\r\nJBuilder Generated JSP333333333333333\r\n</h1>\r\n</body>\r\n</html>\r\n");
      out.write("</div>\r\n  <div id=\"content4\" class=\"hidecontent\">");
      out.write("\r\n<html>\r\n<head>\r\n<title>\r\njsp4\r\n</title>\r\n</head>\r\n<body bgcolor=\"#ffffff\">\r\n<h1>\r\nJBuilder Generated JSP44444444444444\r\n</h1>\r\n</body>\r\n</html>\r\n");
      out.write("</div>\r\n  <div id=\"content5\" class=\"hidecontent\">");
      out.write("\r\n<html>\r\n<head>\r\n<title>\r\n</title>\r\n<STYLE type=\"\">\r\n<!--\r\n#ssm2 A {\r\n FONT-SIZE: 12px; COLOR: #808080; FONT-FAMILY: verdana; TEXT-DECORATION: none\r\n}\r\n#ssm2 A:hover {\r\n COLOR: #ccff33\r\n}\r\n-->\r\n</STYLE>\r\n</head>\r\n<body>\r\n<!--导入Home页面的样式表*-->\r\n<link href=\"Home.css\" rel=\"stylesheet\" type=\"text/css\" />\r\n<script type=\"text/javascript\" src=\"js/MenuForPethost.js\">\r\n</script>\r\n</body>\r\n</html>\r\n");
      out.write("</div>\r\n</div>\r\n</div>\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);
    }
  }
}

⌨️ 快捷键说明

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