📄 left_jsp.java
字号:
package org.apache.jsp;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import org.apache.jasper.runtime.*;
public class left_jsp extends HttpJspBase {
private static java.util.Vector _jspx_includes;
static {
_jspx_includes = new java.util.Vector(1);
_jspx_includes.add("/jsp/knwmanage/../jscript/knwmanage.js");
}
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\r\n");
cn.com.aheadsoft.util.UserInfo userinfo = null;
synchronized (session) {
userinfo = (cn.com.aheadsoft.util.UserInfo) pageContext.getAttribute("userinfo", PageContext.SESSION_SCOPE);
if (userinfo == null){
try {
userinfo = (cn.com.aheadsoft.util.UserInfo) java.beans.Beans.instantiate(this.getClass().getClassLoader(), "cn.com.aheadsoft.util.UserInfo");
} catch (ClassNotFoundException exc) {
throw new InstantiationException(exc.getMessage());
} catch (Exception exc) {
throw new ServletException("Cannot create bean of class " + "cn.com.aheadsoft.util.UserInfo", exc);
}
pageContext.setAttribute("userinfo", userinfo, PageContext.SESSION_SCOPE);
}
}
out.write("\r\n");
cn.com.aheadsoft.manage.UserPurviewManage upm = null;
synchronized (session) {
upm = (cn.com.aheadsoft.manage.UserPurviewManage) pageContext.getAttribute("upm", PageContext.SESSION_SCOPE);
if (upm == null){
try {
upm = (cn.com.aheadsoft.manage.UserPurviewManage) java.beans.Beans.instantiate(this.getClass().getClassLoader(), "cn.com.aheadsoft.manage.UserPurviewManage");
} catch (ClassNotFoundException exc) {
throw new InstantiationException(exc.getMessage());
} catch (Exception exc) {
throw new ServletException("Cannot create bean of class " + "cn.com.aheadsoft.manage.UserPurviewManage", exc);
}
pageContext.setAttribute("upm", upm, PageContext.SESSION_SCOPE);
}
}
out.write(" ");
out.write("<html>\r\n");
out.write("<head>\r\n");
out.write("<title> ");
out.write("</title>\r\n");
out.write("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\">\r\n");
out.write("<link rel =\"stylesheet\" type=\"text/css\" href=\"/krm/jsp/css/tv.css\">\r\n");
out.write("<script language=\"JavaScript\" src=\"../jscript/tv.js\">");
out.write("</script>\r\n");
out.write("<link href=\"/krm/jsp/css/css.css\" rel=\"stylesheet\" type=\"text/css\">\r\n");
out.write("</head>\r\n");
out.write("<body topmargin=\"0\" leftmargin=\"0\" rightmargin=\"0\">\r\n");
out.write("<script language=\"JavaScript\">\r\n");
out.write("<!--\r\n");
/*知识管理权限控制*/
int q111 = upm.getUserPopInt(userinfo,"11","1","q");
int q112 = upm.getUserPopInt(userinfo,"11","2","q");
out.write("\r\n\r\nvar knwmanage = new TreeView();\r\nknwmanage.setImagePath(\"../image/\");\r\n\r\n\r\n//知识管理\r\n");
if(q111>0){
out.write("\r\nknwmanage.add(210,0,\"知识库\",\"/krm/servlet/RecordGroupInfoServlet?module=kn&&status=q&&queryterm=lib&&libtype=kn\",\"right\",null);\r\nknwmanage.add(211,210,\"市场\",\"/krm/servlet/RecordGroupInfoServlet?module=kn&&status=q&&queryterm=group&&libtype=kn&&grouptype=1\",\"right\",null);\r\nknwmanage.add(212,210,\"技术\",\"/krm/servlet/RecordGroupInfoServlet?module=kn&&status=q&&queryterm=group&&libtype=kn&&grouptype=2\",\"right\",null);\r\nknwmanage.add(213,210,\"管理\",\"/krm/servlet/RecordGroupInfoServlet?module=kn&&status=q&&queryterm=group&&libtype=kn&&grouptype=3\",\"right\",null);\r\nknwmanage.add(214,210,\"销售\",\"/krm/servlet/RecordGroupInfoServlet?module=kn&&status=q&&queryterm=group&&libtype=kn&&grouptype=4\",\"right\",null);\r\nknwmanage.add(215,210,\"资本\",\"/krm/servlet/RecordGroupInfoServlet?module=kn&&status=q&&queryterm=group&&libtype=kn&&grouptype=5\",\"right\",null);\r\n");
}if(q112>0){
out.write("\r\nknwmanage.add(220,0,\"信息库\",\"/krm/servlet/RecordGroupInfoServlet?module=in&&status=q&&queryterm=lib&&libtype=in\",\"right\",null);\r\nknwmanage.add(221,220,\"市场\",\"/krm/servlet/RecordGroupInfoServlet?module=in&&status=q&&queryterm=group&&libtype=in&&grouptype=1\",\"right\",null);\r\nknwmanage.add(222,220,\"技术\",\"/krm/servlet/RecordGroupInfoServlet?module=in&&status=q&&queryterm=group&&libtype=in&&grouptype=2\",\"right\",null);\r\nknwmanage.add(223,220,\"管理\",\"/krm/servlet/RecordGroupInfoServlet?module=in&&status=q&&queryterm=group&&libtype=in&&grouptype=3\",\"right\",null);\r\nknwmanage.add(224,220,\"销售\",\"/krm/servlet/RecordGroupInfoServlet?module=in&&status=q&&queryterm=group&&libtype=in&&grouptype=4\",\"right\",null);\r\nknwmanage.add(225,220,\"资本\",\"/krm/servlet/RecordGroupInfoServlet?module=in&&status=q&&queryterm=group&&libtype=in&&grouptype=5\",\"right\",null);\r\n");
}
out.write("\r\nknwmanage.setShowAll(false);\r\nknwmanage.setup();\r\nknwmanage.collapseAll();\r\n");
out.write("\r\n//-->\r\n");
out.write("</script>\r\n\r\n\r\n");
out.write("</body>\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 + -