private boolean _jspx_meth_s_if_1(PageContext _jspx_page_context) throws Throwable {
   PageContext pageContext = _jspx_page_context;
   JspWriter out = _jspx_page_context.getOut();
   //  s:if
   org.apache.struts2.views.jsp.IfTag _jspx_th_s_if_1 =
       (org.apache.struts2.views.jsp.IfTag)
           _jspx_tagPool_s_if_test.get(org.apache.struts2.views.jsp.IfTag.class);
   _jspx_th_s_if_1.setPageContext(_jspx_page_context);
   _jspx_th_s_if_1.setParent(null);
   _jspx_th_s_if_1.setTest(
       "#attribute.required || #attribute.searchable || #attribute.indexingType != 'NONE' || (#attribute.textAttribute && (#attribute.minLength != -1 || #attribute.maxLength != -1)) || (#hasValidationRulesVar) ");
   int _jspx_eval_s_if_1 = _jspx_th_s_if_1.doStartTag();
   if (_jspx_eval_s_if_1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
     if (_jspx_eval_s_if_1 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
       out = _jspx_page_context.pushBody();
       _jspx_th_s_if_1.setBodyContent((javax.servlet.jsp.tagext.BodyContent) out);
       _jspx_th_s_if_1.doInitBody();
     }
     do {
       if (_jspx_meth_s_set_2(
           (javax.servlet.jsp.tagext.JspTag) _jspx_th_s_if_1, _jspx_page_context)) return true;
       int evalDoAfterBody = _jspx_th_s_if_1.doAfterBody();
       if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) break;
     } while (true);
     if (_jspx_eval_s_if_1 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE)
       out = _jspx_page_context.popBody();
   }
   if (_jspx_th_s_if_1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
     _jspx_tagPool_s_if_test.reuse(_jspx_th_s_if_1);
     return true;
   }
   _jspx_tagPool_s_if_test.reuse(_jspx_th_s_if_1);
   return false;
 }
 private boolean _jspx_meth_s_if_0(PageContext _jspx_page_context) throws Throwable {
   PageContext pageContext = _jspx_page_context;
   JspWriter out = _jspx_page_context.getOut();
   //  s:if
   org.apache.struts2.views.jsp.IfTag _jspx_th_s_if_0 =
       (org.apache.struts2.views.jsp.IfTag)
           _jspx_tagPool_s_if_test.get(org.apache.struts2.views.jsp.IfTag.class);
   _jspx_th_s_if_0.setPageContext(_jspx_page_context);
   _jspx_th_s_if_0.setParent(null);
   _jspx_th_s_if_0.setTest("#attribute.required");
   int _jspx_eval_s_if_0 = _jspx_th_s_if_0.doStartTag();
   if (_jspx_eval_s_if_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
     if (_jspx_eval_s_if_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
       out = _jspx_page_context.pushBody();
       _jspx_th_s_if_0.setBodyContent((javax.servlet.jsp.tagext.BodyContent) out);
       _jspx_th_s_if_0.doInitBody();
     }
     do {
       out.write("&#32;<span class=\"icon fa fa-asterisk text-muted\" title=\"");
       if (_jspx_meth_s_text_0(
           (javax.servlet.jsp.tagext.JspTag) _jspx_th_s_if_0, _jspx_page_context)) return true;
       out.write("\"></span>");
       int evalDoAfterBody = _jspx_th_s_if_0.doAfterBody();
       if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) break;
     } while (true);
     if (_jspx_eval_s_if_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE)
       out = _jspx_page_context.popBody();
   }
   if (_jspx_th_s_if_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
     _jspx_tagPool_s_if_test.reuse(_jspx_th_s_if_0);
     return true;
   }
   _jspx_tagPool_s_if_test.reuse(_jspx_th_s_if_0);
   return false;
 }
 private boolean _jspx_meth_s_if_8(
     javax.servlet.jsp.tagext.JspTag _jspx_th_s_set_2, PageContext _jspx_page_context)
     throws Throwable {
   PageContext pageContext = _jspx_page_context;
   JspWriter out = _jspx_page_context.getOut();
   //  s:if
   org.apache.struts2.views.jsp.IfTag _jspx_th_s_if_8 =
       (org.apache.struts2.views.jsp.IfTag)
           _jspx_tagPool_s_if_test.get(org.apache.struts2.views.jsp.IfTag.class);
   _jspx_th_s_if_8.setPageContext(_jspx_page_context);
   _jspx_th_s_if_8.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_s_set_2);
   _jspx_th_s_if_8.setTest("#hasValidationRulesVar");
   int _jspx_eval_s_if_8 = _jspx_th_s_if_8.doStartTag();
   if (_jspx_eval_s_if_8 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
     if (_jspx_eval_s_if_8 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
       out = _jspx_page_context.pushBody();
       _jspx_th_s_if_8.setBodyContent((javax.servlet.jsp.tagext.BodyContent) out);
       _jspx_th_s_if_8.doInitBody();
     }
     do {
       out.write("\n");
       out.write("\t\t<li><span class=\"icon fa fa-li fa-check-circle-o\"></span>\n");
       out.write("\t\t");
       if (_jspx_meth_s_if_9(
           (javax.servlet.jsp.tagext.JspTag) _jspx_th_s_if_8, _jspx_page_context)) return true;
       if (_jspx_meth_s_else_0(
           (javax.servlet.jsp.tagext.JspTag) _jspx_th_s_if_8, _jspx_page_context)) return true;
       out.write("\n");
       out.write("\t\t</li>\n");
       out.write("\t");
       int evalDoAfterBody = _jspx_th_s_if_8.doAfterBody();
       if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) break;
     } while (true);
     if (_jspx_eval_s_if_8 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE)
       out = _jspx_page_context.popBody();
   }
   if (_jspx_th_s_if_8.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
     _jspx_tagPool_s_if_test.reuse(_jspx_th_s_if_8);
     return true;
   }
   _jspx_tagPool_s_if_test.reuse(_jspx_th_s_if_8);
   return false;
 }
 private boolean _jspx_meth_s_if_7(
     javax.servlet.jsp.tagext.JspTag _jspx_th_s_if_5, PageContext _jspx_page_context)
     throws Throwable {
   PageContext pageContext = _jspx_page_context;
   JspWriter out = _jspx_page_context.getOut();
   //  s:if
   org.apache.struts2.views.jsp.IfTag _jspx_th_s_if_7 =
       (org.apache.struts2.views.jsp.IfTag)
           _jspx_tagPool_s_if_test.get(org.apache.struts2.views.jsp.IfTag.class);
   _jspx_th_s_if_7.setPageContext(_jspx_page_context);
   _jspx_th_s_if_7.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_s_if_5);
   _jspx_th_s_if_7.setTest("#attribute.maxLength != -1");
   int _jspx_eval_s_if_7 = _jspx_th_s_if_7.doStartTag();
   if (_jspx_eval_s_if_7 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
     if (_jspx_eval_s_if_7 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
       out = _jspx_page_context.pushBody();
       _jspx_th_s_if_7.setBodyContent((javax.servlet.jsp.tagext.BodyContent) out);
       _jspx_th_s_if_7.doInitBody();
     }
     do {
       out.write("\n");
       out.write("\t\t\t<li><span class=\"icon fa fa-li fa-ellipsis-h\"></span>");
       if (_jspx_meth_s_text_5(
           (javax.servlet.jsp.tagext.JspTag) _jspx_th_s_if_7, _jspx_page_context)) return true;
       out.write(':');
       out.write(' ');
       if (_jspx_meth_s_property_1(
           (javax.servlet.jsp.tagext.JspTag) _jspx_th_s_if_7, _jspx_page_context)) return true;
       out.write("</li>\n");
       out.write("\t\t");
       int evalDoAfterBody = _jspx_th_s_if_7.doAfterBody();
       if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) break;
     } while (true);
     if (_jspx_eval_s_if_7 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE)
       out = _jspx_page_context.popBody();
   }
   if (_jspx_th_s_if_7.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
     _jspx_tagPool_s_if_test.reuse(_jspx_th_s_if_7);
     return true;
   }
   _jspx_tagPool_s_if_test.reuse(_jspx_th_s_if_7);
   return false;
 }
 private boolean _jspx_meth_s_if_9(
     javax.servlet.jsp.tagext.JspTag _jspx_th_s_if_8, PageContext _jspx_page_context)
     throws Throwable {
   PageContext pageContext = _jspx_page_context;
   JspWriter out = _jspx_page_context.getOut();
   //  s:if
   org.apache.struts2.views.jsp.IfTag _jspx_th_s_if_9 =
       (org.apache.struts2.views.jsp.IfTag)
           _jspx_tagPool_s_if_test.get(org.apache.struts2.views.jsp.IfTag.class);
   _jspx_th_s_if_9.setPageContext(_jspx_page_context);
   _jspx_th_s_if_9.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_s_if_8);
   _jspx_th_s_if_9.setTest("#validationRules.ognlValidationRule.helpMessageKey != null");
   int _jspx_eval_s_if_9 = _jspx_th_s_if_9.doStartTag();
   if (_jspx_eval_s_if_9 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
     if (_jspx_eval_s_if_9 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
       out = _jspx_page_context.pushBody();
       _jspx_th_s_if_9.setBodyContent((javax.servlet.jsp.tagext.BodyContent) out);
       _jspx_th_s_if_9.doInitBody();
     }
     do {
       if (_jspx_meth_s_set_3(
           (javax.servlet.jsp.tagext.JspTag) _jspx_th_s_if_9, _jspx_page_context)) return true;
       if (_jspx_meth_s_set_4(
           (javax.servlet.jsp.tagext.JspTag) _jspx_th_s_if_9, _jspx_page_context)) return true;
       if (_jspx_meth_wp_i18n_0(
           (javax.servlet.jsp.tagext.JspTag) _jspx_th_s_if_9, _jspx_page_context)) return true;
       int evalDoAfterBody = _jspx_th_s_if_9.doAfterBody();
       if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) break;
     } while (true);
     if (_jspx_eval_s_if_9 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE)
       out = _jspx_page_context.popBody();
   }
   if (_jspx_th_s_if_9.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
     _jspx_tagPool_s_if_test.reuse(_jspx_th_s_if_9);
     return true;
   }
   _jspx_tagPool_s_if_test.reuse(_jspx_th_s_if_9);
   return false;
 }
 private boolean _jspx_meth_s_if_4(
     javax.servlet.jsp.tagext.JspTag _jspx_th_s_set_2, PageContext _jspx_page_context)
     throws Throwable {
   PageContext pageContext = _jspx_page_context;
   JspWriter out = _jspx_page_context.getOut();
   //  s:if
   org.apache.struts2.views.jsp.IfTag _jspx_th_s_if_4 =
       (org.apache.struts2.views.jsp.IfTag)
           _jspx_tagPool_s_if_test.get(org.apache.struts2.views.jsp.IfTag.class);
   _jspx_th_s_if_4.setPageContext(_jspx_page_context);
   _jspx_th_s_if_4.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_s_set_2);
   _jspx_th_s_if_4.setTest("#attribute.indexingType != 'NONE'");
   int _jspx_eval_s_if_4 = _jspx_th_s_if_4.doStartTag();
   if (_jspx_eval_s_if_4 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
     if (_jspx_eval_s_if_4 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
       out = _jspx_page_context.pushBody();
       _jspx_th_s_if_4.setBodyContent((javax.servlet.jsp.tagext.BodyContent) out);
       _jspx_th_s_if_4.doInitBody();
     }
     do {
       out.write("\n");
       out.write("\t\t<li><span class=\"icon fa fa-li fa-search\"></span>");
       if (_jspx_meth_s_text_3(
           (javax.servlet.jsp.tagext.JspTag) _jspx_th_s_if_4, _jspx_page_context)) return true;
       out.write("</li>\n");
       out.write("\t");
       int evalDoAfterBody = _jspx_th_s_if_4.doAfterBody();
       if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) break;
     } while (true);
     if (_jspx_eval_s_if_4 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE)
       out = _jspx_page_context.popBody();
   }
   if (_jspx_th_s_if_4.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
     _jspx_tagPool_s_if_test.reuse(_jspx_th_s_if_4);
     return true;
   }
   _jspx_tagPool_s_if_test.reuse(_jspx_th_s_if_4);
   return false;
 }
 private boolean _jspx_meth_s_if_5(
     javax.servlet.jsp.tagext.JspTag _jspx_th_s_set_2, PageContext _jspx_page_context)
     throws Throwable {
   PageContext pageContext = _jspx_page_context;
   JspWriter out = _jspx_page_context.getOut();
   //  s:if
   org.apache.struts2.views.jsp.IfTag _jspx_th_s_if_5 =
       (org.apache.struts2.views.jsp.IfTag)
           _jspx_tagPool_s_if_test.get(org.apache.struts2.views.jsp.IfTag.class);
   _jspx_th_s_if_5.setPageContext(_jspx_page_context);
   _jspx_th_s_if_5.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_s_set_2);
   _jspx_th_s_if_5.setTest("#attribute.textAttribute");
   int _jspx_eval_s_if_5 = _jspx_th_s_if_5.doStartTag();
   if (_jspx_eval_s_if_5 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
     if (_jspx_eval_s_if_5 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
       out = _jspx_page_context.pushBody();
       _jspx_th_s_if_5.setBodyContent((javax.servlet.jsp.tagext.BodyContent) out);
       _jspx_th_s_if_5.doInitBody();
     }
     do {
       if (_jspx_meth_s_if_6(
           (javax.servlet.jsp.tagext.JspTag) _jspx_th_s_if_5, _jspx_page_context)) return true;
       if (_jspx_meth_s_if_7(
           (javax.servlet.jsp.tagext.JspTag) _jspx_th_s_if_5, _jspx_page_context)) return true;
       int evalDoAfterBody = _jspx_th_s_if_5.doAfterBody();
       if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) break;
     } while (true);
     if (_jspx_eval_s_if_5 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE)
       out = _jspx_page_context.popBody();
   }
   if (_jspx_th_s_if_5.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
     _jspx_tagPool_s_if_test.reuse(_jspx_th_s_if_5);
     return true;
   }
   _jspx_tagPool_s_if_test.reuse(_jspx_th_s_if_5);
   return false;
 }
Exemple #8
0
  public void _jspService(HttpServletRequest request, HttpServletResponse response)
      throws java.io.IOException, ServletException {

    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 {
      response.setContentType("text/html; charset=UTF-8");
      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\" \"http://www.w3.org/TR/html4/loose.dtd\">\r\n");
      out.write("<html>\r\n");
      out.write("<head>\r\n");
      out.write("<link type=\"text/css\" rel=\"stylesheet\"\r\n");
      out.write("\thref=\"");
      out.print(request.getContextPath());
      out.write("/css/dep/deplist.css\">\r\n");
      out.write("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\">\r\n");
      out.write("<title>");
      if (_jspx_meth_decorator_005ftitle_005f0(_jspx_page_context)) return;
      out.write("</title>\r\n");
      if (_jspx_meth_decorator_005fhead_005f0(_jspx_page_context)) return;
      out.write("\r\n");
      out.write("</head>\r\n");
      out.write("<body>\r\n");
      out.write("\r\n");
      out.write("<!-- 用户登陆的情况下 -->\r\n");
      //  s:if
      org.apache.struts2.views.jsp.IfTag _jspx_th_s_005fif_005f0 =
          (org.apache.struts2.views.jsp.IfTag)
              _005fjspx_005ftagPool_005fs_005fif_0026_005ftest.get(
                  org.apache.struts2.views.jsp.IfTag.class);
      _jspx_th_s_005fif_005f0.setPageContext(_jspx_page_context);
      _jspx_th_s_005fif_005f0.setParent(null);
      // /WEB-INF/decorator/basic.jsp(17,0) name = test type = java.lang.String reqTime = false
      // required = true fragment = false deferredValue = false expectedTypeName = null
      // deferredMethod = false methodSignature = null
      _jspx_th_s_005fif_005f0.setTest("#session.loginUser != null");
      int _jspx_eval_s_005fif_005f0 = _jspx_th_s_005fif_005f0.doStartTag();
      if (_jspx_eval_s_005fif_005f0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        if (_jspx_eval_s_005fif_005f0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
          out = _jspx_page_context.pushBody();
          _jspx_th_s_005fif_005f0.setBodyContent((javax.servlet.jsp.tagext.BodyContent) out);
          _jspx_th_s_005fif_005f0.doInitBody();
        }
        do {
          out.write("\r\n");
          out.write("\t欢迎[");
          out.write(
              (java.lang.String)
                  org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate(
                      "${session.loginUser.nickname}",
                      java.lang.String.class,
                      (PageContext) _jspx_page_context,
                      null,
                      false));
          out.write("]登录系统,你可以:\r\n");
          out.write("\t<a href=\"");
          out.print(request.getContextPath());
          out.write("/dep/dep_addInput\">添加部门</a>\r\n");
          out.write("\t<a href=\"");
          out.print(request.getContextPath());
          out.write("/user/user_addInput\">添加用户</a>\r\n");
          out.write("\t<a href=\"");
          out.print(request.getContextPath());
          out.write("/user/user_updateInput?user.id=");
          out.write(
              (java.lang.String)
                  org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate(
                      "${session.loginUser.id}",
                      java.lang.String.class,
                      (PageContext) _jspx_page_context,
                      null,
                      false));
          out.write("\">修改个人信息</a>\r\n");
          out.write("\t<a href=\"");
          out.print(request.getContextPath());
          out.write("/msg/msg_addInput\">新建私信</a>\r\n");
          out.write("\t<a href=\"");
          out.print(request.getContextPath());
          out.write("/msg/msg_listRevMsg\">查看收件箱</a>\r\n");
          out.write("\t<a href=\"");
          out.print(request.getContextPath());
          out.write("/msg/msg_listSendedMsg\">查看发件箱</a>\r\n");
          out.write("\t<a href=\"");
          out.print(request.getContextPath());
          out.write("/doc/doc_addInput\">新建公文</a>\r\n");
          out.write("\t<a href=\"");
          out.print(request.getContextPath());
          out.write("/doc/doc_listRevDoc\">查看收到公文</a>\r\n");
          out.write("\t<a href=\"");
          out.print(request.getContextPath());
          out.write("/doc/doc_listSendedDoc\">查看已发公文</a>\r\n");
          out.write("\t<a href=\"");
          out.print(request.getContextPath());
          out.write("/logout\">退出登录</a>\r\n");
          int evalDoAfterBody = _jspx_th_s_005fif_005f0.doAfterBody();
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) break;
        } while (true);
        if (_jspx_eval_s_005fif_005f0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
          out = _jspx_page_context.popBody();
        }
      }
      if (_jspx_th_s_005fif_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
        _005fjspx_005ftagPool_005fs_005fif_0026_005ftest.reuse(_jspx_th_s_005fif_005f0);
        return;
      }
      _005fjspx_005ftagPool_005fs_005fif_0026_005ftest.reuse(_jspx_th_s_005fif_005f0);
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("<hr>\r\n");
      out.write("<h1 align=\"center\">");
      if (_jspx_meth_decorator_005ftitle_005f1(_jspx_page_context)) return;
      out.write("</h1>\r\n");
      if (_jspx_meth_decorator_005fbody_005f0(_jspx_page_context)) return;
      out.write("\r\n");
      out.write("<hr>\r\n");
      out.write("</body>\r\n");
      out.write("</html>");
    } catch (Throwable t) {
      if (!(t instanceof SkipPageException)) {
        out = _jspx_out;
        if (out != null && out.getBufferSize() != 0)
          try {
            out.clearBuffer();
          } catch (java.io.IOException e) {
          }
        if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
      }
    } finally {
      _jspxFactory.releasePageContext(_jspx_page_context);
    }
  }