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

📄 index_jsp.java

📁 一套JAVA开发的OA系统,包括工作流,客户管理、个人管理、车辆管理,人事管理等。
💻 JAVA
字号:
package org.apache.jsp.oaweb;

import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import cn.com.chx.oa.util.Constant;
import cn.com.chx.oa.model.catalog.UserModel;

public final class index_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(1);
    _jspx_dependants.add("/oaweb/style.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");
      out.write("\r\n");
      out.write('\r');
      out.write('\n');

  UserModel user_style_model = (UserModel)session.getAttribute("userinfo");
  String css_name =  "1";
	  String t_cssName = user_style_model.getCss_name();
	 if(t_cssName != null || !t_cssName.equals(""))
	  css_name = user_style_model.getCss_name();

      out.write('\r');
      out.write('\n');
      out.write('\r');
      out.write('\n');
String top = "top.jsp";
	if(css_name.equals("4"))
	top="top4.jsp";
      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=GBK\">\r\n");
      out.write("<title>欢迎使用四通博运办公自动化系统</title>\r\n");
      out.write("   <script language=\"JavaScript\">\r\n");
      out.write("    <!--\r\n");
      out.write("javascript:window.history.forward(1);\r\n");
      out.write("    //-->\r\n");
      out.write("    </script>\r\n");
      out.write("</head>\r\n");

//  String todoNum = (String)request.getAttribute("todoNum");
//  String doneNum = (String)request.getAttribute("doneNum");
 
      out.write("\r\n");
      out.write("<frameset rows=\"86,*\" cols=\"*\" frameborder=\"NO\" border=\"0\" framespacing=\"0\">\r\n");
      out.write("  <frame src=\"");
      out.print(Constant.ROOTPATH);
      out.print(top);
      out.write("\" name=\"topFrame\" scrolling=\"NO\" noresize>\r\n");
      out.write("  <frameset rows=\"*\" cols=\"146,*\" framespacing=\"0\" frameborder=\"NO\" border=\"0\">\r\n");
      out.write("    <frame src=\"");
      out.print(Constant.ROOTPATH);
      out.write("defaultoutlook.jsp\" name=\"leftFrame\" scrolling=\"NO\" noresize>\r\n");
      out.write("    <frame src=\"");
      out.print(Constant.ROOTPATH);
      out.write("MainAction.do?actionType=query&workType=do\" name=\"mainFrame\" scrolling=\"yes\">\r\n");
      out.write("  </frameset>\r\n");
      out.write("</frameset>\r\n");
      out.write("<noframes><body>\r\n");
      out.write("</body></noframes>\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 + -