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

📄 top_jsp.java

📁 JSP数据库系统开发案例精选--客户管理系统
💻 JAVA
字号:
package org.apache.jsp;

import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import org.apache.jasper.runtime.*;
import com.domain.UserForm;
import com.tool.Chinese;

public class top_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");
java.util.Date date=new java.util.Date();
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n\r\n");
UserForm form=(UserForm)session.getAttribute("form");
      out.write("\r\n");
session.setAttribute("form",form);
      out.write("\r\n");
session.setMaxInactiveInterval(3600);
      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>头页面");
      out.write("</title>\r\n");
      out.write("<style type=\"text/css\">\r\n");
      out.write("<!--\r\nbody {\r\n\tbackground-color: #000000;\r\n\tmargin-left: 0px;\r\n\tmargin-top: 0px;\r\n\tmargin-right: 0px;\r\n\tmargin-bottom: 0px;\r\n}\r\n.style1 {font-size: larger}\r\na{\r\nfont-size:12px;\r\ncolor:#FF6600;}\r\na:hover{\r\nfont-size:12px;\r\ncolor:#990000;}\r\n.style6 {\r\n\tfont-size: 12px;\r\n\tcolor: #FFFFFF;\r\n}\r\n.style8 {\r\n\tcolor: #00FFFF;\r\n\tfont-weight: bold;\r\n\tfont-size: x-large;\r\n}\r\n-->\r\n");
      out.write("</style>");
      out.write("</head>\r\n");
      out.write("<body>\r\n");
      out.write("<div align=\"center\" class=\"style1\">\r\n  ");
      out.write("<table width=\"778\" height=\"205\"  border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\r\n    ");
      out.write("<tr>\r\n      ");
      out.write("<td height=\"166\" colspan=\"8\" background=\"../images/banner.jpg\">");
      out.write("<span class=\"style8\">测试用到的");
      out.print(Integer.parseInt(form.getMenu_khxx()));
      out.write("</span>");
      out.write("</td>\r\n    ");
      out.write("</tr>\r\n    ");
      out.write("<tr>\r\n      ");
      out.write("<td width=\"120\" background=\"../images/datetime.jpg\">");
      out.write("<span class=\"style6\">今天是");
      out.print(date.getYear()+1900);
      out.write("年");
      out.print(date.getMonth()+1);
      out.write("月");
      out.print(date.getDate());
      out.write("日");
      out.write("</span>");
      out.write("</td>\r\n\r\n     ");
      out.write("<td width=\"92\" align=\"center\" background=\"../images/bar.jpg\">");
      out.write("<a href=\"information/information.jsp\" target=\"left\">基础信息维护");
      out.write("</a>");
      out.write("</td>\r\n\t ");
      out.write("<td width=\"92\" align=\"center\" background=\"../images/bar.jpg\">");
      out.write("<a href=\"information/khxxInformation.jsp\" target=\"left\">客户信息维护");
      out.write("</a>");
      out.write("</td>\r\n     ");
      out.write("<td width=\"92\" align=\"center\" background=\"../images/bar.jpg\">");
      out.write("<a href=\"information/seriveClient.jsp\" target=\"left\">客户服务");
      out.write("</a>");
      out.write("</td>\r\n      \r\n\t  \r\n\t  \r\n\t  \r\n\t  ");
      out.write("<td width=\"92\" align=\"center\" background=\"../images/bar.jpg\">");
      out.write("<a href=\"information/queryInformation.jsp\" target=\"left\">信息查询");
      out.write("</a>");
      out.write("</td>\r\n      ");
      out.write("<td width=\"92\" align=\"center\" background=\"../images/bar.jpg\">");
      out.write("<a href=\"information/printInformation.jsp\" target=\"left\">数据管理");
      out.write("</a>");
      out.write("</td>\r\n      ");
      out.write("<td width=\"92\" align=\"center\" background=\"../images/bar.jpg\">");
      out.write("<a href=\"information/tool.jsp\" target=\"left\">辅助工具");
      out.write("</a>");
      out.write("</td>\r\n      ");
      out.write("<td width=\"106\" align=\"center\" background=\"../images/bar.jpg\">");
      out.write("<a href=\"information/systemManager.jsp\"  target=\"left\">系统管理");
      out.write("</a>");
      out.write("</td>\r\n    ");
      out.write("</tr>\r\n  ");
      out.write("</table>\r\n");
      out.write("</div>\r\n\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 + -