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

📄 left_jsp.java

📁 企业进销存源码
💻 JAVA
字号:
package org.apache.jsp;

import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import com.business.vo.*;
import com.common.resource.*;
import java.util.*;
import com.business.*;

public final class left_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(3);
    _jspx_dependants.add("/WEB-INF/struts-html.tld");
    _jspx_dependants.add("/WEB-INF/struts-bean.tld");
    _jspx_dependants.add("/include/include.inc");
  }

  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,
      			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("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">\r\n");
      out.write("<HTML>\r\n");
      out.write("<HEAD>\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write(" \r\n");
      out.write("<META http-equiv=\"Content-Type\" content=\"text/html; charset=GB2312\">\r\n");
      out.write("<META name=\"GENERATOR\" content=\"IBM WebSphere Studio\">\r\n");
      out.write("<META http-equiv=\"Content-Style-Type\" content=\"text/css\">\r\n");
      out.write("<script src=\"js/goodsfolder.js\"></script>\r\n");
      out.write("<LINK href=\"");
      out.print(request.getContextPath());
      out.write("/style/style.css\" rel=\"stylesheet\" type=\"text/css\">\r\n");
      out.write("<script language=javascript src=\"");
      out.print(request.getContextPath());
      out.write("/js/layer.js\"></script>\r\n");
      out.write("<script language=javascript src=\"");
      out.print(request.getContextPath());
      out.write("/js/style.js\"></script>\r\n");
      out.write("<script language=javascript src=\"");
      out.print(request.getContextPath());
      out.write("/js/univerify.js\"></script>\r\n");
      out.write("<script language=javascript src=\"");
      out.print(request.getContextPath());
      out.write("/js/manage.js\"></script>\r\n");
      out.write("<script language=javascript src=\"");
      out.print(request.getContextPath());
      out.write("/js/DateInput.js\"></script>\r\n");
      out.write("\r\n");
      out.write("<TITLE>left.jsp</TITLE>\r\n");
      out.write("</HEAD>\r\n");
      out.write("<style type=\"text/css\">\r\n");
      out.write("<!--\r\n");
      out.write("body {\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("-->\r\n");
      out.write("</style>\r\n");
      out.write("<BODY>\r\n");
      out.write("<!-- 菜单 -->\r\n");
      out.write("<table width=\"100%\" height=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\r\n");
      out.write("  <tr>\r\n");
      out.write("    <td height=\"10\" valign=\"top\"></td>\r\n");
      out.write("  </tr>\r\n");
      out.write("  <tr>\r\n");
      out.write("    <td height=\"100%\" valign=\"top\">\r\n");
      out.write("    <table width=\"162\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\r\n");
      out.write("      <tr>\r\n");
      out.write("        <td width=\"12\"></td>\r\n");
      out.write("        <td width=\"150\">\r\n");
      out.write("\t\t\t");
				
				try{
					User loginUser = (User)request.getSession().getAttribute("LOGIN_USER");
					ResourceRoleNewTreeAdapter adapter = new ResourceRoleNewTreeAdapter();
					adapter.getTreeView(loginUser.getRoleId());
					out.println(adapter.show()); 
				}catch(Exception e){				
				}
			
      out.write("\r\n");
      out.write("\t\t</td>\r\n");
      out.write("      </tr>\r\n");
      out.write("    </table></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 + -