📄 rightdistribute_jsp.java
字号:
package org.apache.jsp.roes;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import java.util.*;
public final class rightDistribute_jsp extends org.apache.jasper.runtime.HttpJspBase
implements org.apache.jasper.runtime.JspSourceDependent {
private static java.util.Vector _jspx_dependants;
private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_c_if_test;
private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_c_forEach_var_items_end_begin;
private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_c_choose;
private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_c_when_test;
private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_c_otherwise;
public java.util.List getDependants() {
return _jspx_dependants;
}
public void _jspInit() {
_jspx_tagPool_c_if_test = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
_jspx_tagPool_c_forEach_var_items_end_begin = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
_jspx_tagPool_c_choose = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
_jspx_tagPool_c_when_test = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
_jspx_tagPool_c_otherwise = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
}
public void _jspDestroy() {
_jspx_tagPool_c_if_test.release();
_jspx_tagPool_c_forEach_var_items_end_begin.release();
_jspx_tagPool_c_choose.release();
_jspx_tagPool_c_when_test.release();
_jspx_tagPool_c_otherwise.release();
}
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\n");
out.write("\r\n");
out.write("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">\r\n");
out.write("<html>\r\n");
out.write("\t<head>\r\n");
out.write("\t\t<title>My JSP 'rightDistribute.jsp' starting page</title>\r\n");
out.write("\r\n");
out.write("\t\t<meta http-equiv=\"pragma\" content=\"no-cache\">\r\n");
out.write("\t\t<meta http-equiv=\"cache-control\" content=\"no-cache\">\r\n");
out.write("\t\t<meta http-equiv=\"expires\" content=\"0\">\r\n");
out.write("\t\t<meta http-equiv=\"keywords\" content=\"keyword1,keyword2,keyword3\">\r\n");
out.write("\t\t<meta http-equiv=\"description\" content=\"This is my page\">\r\n");
out.write("\t\t<link href=\"");
out.print(request.getContextPath());
out.write("/css/style_2.css\" rel=\"stylesheet\">\r\n");
out.write("\r\n");
out.write("\t</head>\r\n");
out.write("\r\n");
out.write("\t<body>\r\n");
out.write("\t");
// c:if
org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_if_0 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _jspx_tagPool_c_if_test.get(org.apache.taglibs.standard.tag.rt.core.IfTag.class);
_jspx_th_c_if_0.setPageContext(_jspx_page_context);
_jspx_th_c_if_0.setParent(null);
_jspx_th_c_if_0.setTest(((java.lang.Boolean) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${! empty hasuser}", java.lang.Boolean.class, (PageContext)_jspx_page_context, null, false)).booleanValue());
int _jspx_eval_c_if_0 = _jspx_th_c_if_0.doStartTag();
if (_jspx_eval_c_if_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
do {
out.write("\r\n");
out.write(" ");
out
.println("<script language='javascript'></script>");
session.removeAttribute("hasuser");
out.write("\r\n");
out.write(" ");
int evalDoAfterBody = _jspx_th_c_if_0.doAfterBody();
if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
break;
} while (true);
}
if (_jspx_th_c_if_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
return;
_jspx_tagPool_c_if_test.reuse(_jspx_th_c_if_0);
out.write("\r\n");
out.write("\t\t<table width=\"95%\" border=\"0\" align=\"center\" cellpadding=\"0\"\r\n");
out.write("\t\t\tcellspacing=\"0\">\r\n");
out.write("\t\t\t<tr>\r\n");
out.write("\t\t\t\t<td width=\"20%\" valign=\"bottom\" scope=\"col\" align=\"right\">\r\n");
out.write("\t\t\t\t\t<img src=\"../images/docu.gif\" width=\"26\" height=\"25\">\r\n");
out.write("\t\t\t\t\t<a href=\"");
out.print(request.getContextPath());
out.write("/roes/index.jsp\"\r\n");
out.write("\t\t\t\t\t\ttarget=\"bottomFrame\">权限管理</a>\r\n");
out.write("\t\t\t\t\t\t\r\n");
out.write("\t\t\t\t</td>\r\n");
out.write("\t\t\t\t<td height=\"29\" align=\"left\" valign=\"bottom\" scope=\"col\">\r\n");
out.write("\t\t\t\t\t>>>权限分配\r\n");
out.write("\t\t\t\t\t<a href=\"th_init.jsp?init=1\" target=\"bottomFrame\"></a> <img src=\"../images/icon_group.gif\">\r\n");
out.write("\t\t\t\t\t\t<a href=\"");
out.print(request.getContextPath() );
out.write("/roes/addRoes.jsp\" target=\"mainName\">添加新角色</a>\r\n");
out.write("\t\t\t\t</td>\r\n");
out.write("\t\t\t</tr>\r\n");
out.write("\t\t</table>\r\n");
out.write("\t\t<hr color=\"#0080c0\">\r\n");
out.write("\t\t<table width=\"100%\" border=\"1\" cellspacing=\"0\" cellpadding=\"0\"\r\n");
out.write("\t\t\t\tbordercolor=\"#FFFFFF\" bordercolordark=\"#ffffff\"\r\n");
out.write("\t\t\t\tbordercolorlight=\"#EEF2F9\">\r\n");
out.write("\t\t\t<tr align=\"center\" bgcolor=\"#DFE7F0\" >\r\n");
out.write("\t\t\t\t<td width=\"47%\" align=\"center\" scope=\"col\">\r\n");
out.write("\t\t\t\t\t角色名称\r\n");
out.write("\t\t\t\t</td>\r\n");
out.write("\t\t\t\t<td width=\"33%\" scope=\"col\">\r\n");
out.write("\t\t\t\t\t操作\r\n");
out.write("\t\t\t\t</td>\r\n");
out.write("\t\t\t</tr>\r\n");
out.write("\t\t\t");
// c:if
org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_if_1 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _jspx_tagPool_c_if_test.get(org.apache.taglibs.standard.tag.rt.core.IfTag.class);
_jspx_th_c_if_1.setPageContext(_jspx_page_context);
_jspx_th_c_if_1.setParent(null);
_jspx_th_c_if_1.setTest(((java.lang.Boolean) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${!empty roesnames}", java.lang.Boolean.class, (PageContext)_jspx_page_context, null, false)).booleanValue());
int _jspx_eval_c_if_1 = _jspx_th_c_if_1.doStartTag();
if (_jspx_eval_c_if_1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
do {
out.write("\r\n");
out.write("\t\t\t\t");
// c:forEach
org.apache.taglibs.standard.tag.rt.core.ForEachTag _jspx_th_c_forEach_0 = (org.apache.taglibs.standard.tag.rt.core.ForEachTag) _jspx_tagPool_c_forEach_var_items_end_begin.get(org.apache.taglibs.standard.tag.rt.core.ForEachTag.class);
_jspx_th_c_forEach_0.setPageContext(_jspx_page_context);
_jspx_th_c_forEach_0.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_if_1);
_jspx_th_c_forEach_0.setItems((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${roesnames}", java.lang.Object.class, (PageContext)_jspx_page_context, null, false));
_jspx_th_c_forEach_0.setVar("rname");
_jspx_th_c_forEach_0.setBegin(((java.lang.Integer) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${(roescurrentPage -1)*5}", java.lang.Integer.class, (PageContext)_jspx_page_context, null, false)).intValue());
_jspx_th_c_forEach_0.setEnd(((java.lang.Integer) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${(((roescurrentPage*5-1)>RoesCount)?RoesCount:(roescurrentPage*5-1))}", java.lang.Integer.class, (PageContext)_jspx_page_context, null, false)).intValue());
int[] _jspx_push_body_count_c_forEach_0 = new int[] { 0 };
try {
int _jspx_eval_c_forEach_0 = _jspx_th_c_forEach_0.doStartTag();
if (_jspx_eval_c_forEach_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
do {
out.write("\r\n");
out.write("\t\t\t\t\t<tr align=\"center\" valign=\"middle\" >\r\n");
out.write("\t\t\t\t\t\t<td width=\"30%\" height=\"23\">\r\n");
out.write("\t\t\t\t\t\t\t<a\r\n");
out.write("\t\t\t\t\t\t\t\thref=\"");
out.print(request.getContextPath());
out.write("/servlet/RoesNameServlet?roesId=");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${rname.id}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("&roesName=");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${rname.roesName }", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write('"');
out.write('>');
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${rname.roesName\r\n }", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("</a>\r\n");
out.write("\t\t\t\t\t\t</td>\r\n");
out.write("\t\t\t\t\t\t<td width=\"30%\" height=\"23\">\r\n");
out.write("\t\t\t\t\t\t\t<img src=\"../images/delete.gif\">\r\n");
out.write("\t\t\t\t\t\t\t<a href=\"");
out.print(request.getContextPath());
out.write("/servlet/AddAndDeleteRoesNameServlet?roesId=");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${rname.id}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("\">删除</a>\r\n");
out.write("\t\t\t\t\t\t</td>\r\n");
out.write("\t\t\t\t\t</tr>\r\n");
out.write("\t\t\t\t");
int evalDoAfterBody = _jspx_th_c_forEach_0.doAfterBody();
if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
break;
} while (true);
}
if (_jspx_th_c_forEach_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
return;
} catch (Throwable _jspx_exception) {
while (_jspx_push_body_count_c_forEach_0[0]-- > 0)
out = _jspx_page_context.popBody();
_jspx_th_c_forEach_0.doCatch(_jspx_exception);
} finally {
_jspx_th_c_forEach_0.doFinally();
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -