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

📄 roesdistribute_jsp.java

📁 oa rar it is the jsp
💻 JAVA
📖 第 1 页 / 共 2 页
字号:
package org.apache.jsp.roes;

import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import java.util.*;

public final class roesDistribute_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("<!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("\r\n");
      out.write("\t\t<title>My JSP 'roesDistribute.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<script type=\"text/javascript\">\r\n");
      out.write("\t\tfunction myload(){\r\n");
      out.write("\t\t  window.parent.frames[3].location.reload();\r\n");
      out.write("\t\t}\r\n");
      out.write("\t</script>\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 updatesuccess}", 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'>alert('修改角色成功!!!');</script>");
					session.removeAttribute("updatesuccess");
		
          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</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>&nbsp;&nbsp;&nbsp;<img src=\"../images/06.gif\">\r\n");
      out.write("\t\t<a href=\"");
      out.print(request.getContextPath() );
      out.write("/servlet/RoesToUserServlet\"\r\n");
      out.write("\t\t\ttarget=\"mainName\">新建员工角色关系</a>&nbsp;&nbsp;\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("\r\n");
      out.write("\t\t\r\n");
      out.write("\t\t</html:form>\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\" valign=\"middle\" bgcolor=\"#DFE7F0\">\r\n");
      out.write("\t\t\t\t<td width=\"30%\" height=\"23\" >\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=\"30%\" height=\"23\">\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=\"30%\" height=\"23\" >\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<tr align=\"center\" valign=\"middle\" >\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 userandroes}", 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("${userandroes}", java.lang.Object.class, (PageContext)_jspx_page_context, null, false));
          _jspx_th_c_forEach_0.setVar("userandroes");
          _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");
                out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${userandroes.username}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
                out.write("\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");
                out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${userandroes.roesname}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
                out.write("\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/i_1.gif\">\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/UpdateRoesServlet?perId=");
                out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${userandroes.perId}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
                out.write("&username=");
                out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${userandroes.username }", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
                out.write("\"\r\n");
                out.write("\t\t\t\t\t\t\t\ttarget=\"mainName\">修改</a>\r\n");
                out.write("\t\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/DeleteRoesServlet?perId=");
                out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${userandroes.perId}", 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)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -