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

📄 preparedo_jsp.java

📁 一套JAVA开发的OA系统,包括工作流,客户管理、个人管理、车辆管理,人事管理等。
💻 JAVA
📖 第 1 页 / 共 5 页
字号:
boolean tr=true;
          out.write("\r\n");
          out.write("                ");
          //  logic:iterate
          org.apache.struts.taglib.logic.IterateTag _jspx_th_logic_iterate_0 = (org.apache.struts.taglib.logic.IterateTag) _jspx_tagPool_logic_iterate_property_name_id.get(org.apache.struts.taglib.logic.IterateTag.class);
          _jspx_th_logic_iterate_0.setPageContext(_jspx_page_context);
          _jspx_th_logic_iterate_0.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_html_form_0);
          _jspx_th_logic_iterate_0.setId("ListShowBean");
          _jspx_th_logic_iterate_0.setName("InstanceForm");
          _jspx_th_logic_iterate_0.setProperty("RecordSet");
          int _jspx_eval_logic_iterate_0 = _jspx_th_logic_iterate_0.doStartTag();
          if (_jspx_eval_logic_iterate_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
            java.lang.Object ListShowBean = null;
            if (_jspx_eval_logic_iterate_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
              out = _jspx_page_context.pushBody();
              _jspx_th_logic_iterate_0.setBodyContent((javax.servlet.jsp.tagext.BodyContent) out);
              _jspx_th_logic_iterate_0.doInitBody();
            }
            ListShowBean = (java.lang.Object) _jspx_page_context.findAttribute("ListShowBean");
            do {
              out.write("\r\n");
              out.write("                  ");
if(tr){
              out.write("\r\n");
              out.write("                  <tr align=\"center\" class=\"mainlisttabledark\">\r\n");
              out.write("                    ");
} else {
              out.write("\r\n");
              out.write("                  <tr align=\"center\">\r\n");
              out.write("                    ");
}
              out.write("\r\n");
              out.write("                    ");
 HashMap map = (HashMap)ListShowBean ;
	      String instanceID = (String)map.get("instance_id");
		  String nodeID = (String)map.get("nodeID");
		  String nodeStatus = (String)map.get("nodeStatus");
		  String action = "/oa"+(String)map.get("basicActionDo")+"&doKey="+instanceID+"&appName="+appName
						  +"&$instance_id="+instanceID+"&nodeID="+nodeID;
		  
              out.write("\r\n");
              out.write("                    <td><a href=\"");
              out.print(action);
              out.write("\">\r\n");
              out.write("                      ");
              if (_jspx_meth_bean_write_0(_jspx_th_logic_iterate_0, _jspx_page_context))
                return;
              out.write("\r\n");
              out.write("                      </a> </td>\r\n");
              out.write("                    <td>");
              if (_jspx_meth_bean_write_1(_jspx_th_logic_iterate_0, _jspx_page_context))
                return;
              out.write("</td>\r\n");
              out.write("                    <td>");
              if (_jspx_meth_bean_write_2(_jspx_th_logic_iterate_0, _jspx_page_context))
                return;
              out.write("</td>\r\n");
              out.write("                    <td>\r\n");
              out.write("                      ");
switch (nodeStatus.charAt(0))
		    {
			case '0' :
			          nodeStatus="正常办理";
			          break;
			case '1' :
			          nodeStatus="催办";
					  break;
					  case '2':
					  nodeStatus="办理结束";
					  }
					  out.print(nodeStatus);
					  
              out.write("\r\n");
              out.write("                    </td>\r\n");
              out.write("                    <td>");
              if (_jspx_meth_bean_write_3(_jspx_th_logic_iterate_0, _jspx_page_context))
                return;
              out.write("</td>\r\n");
              out.write("                    <td>");
              if (_jspx_meth_bean_write_4(_jspx_th_logic_iterate_0, _jspx_page_context))
                return;
              out.write("</td>\r\n");
              out.write("                    <td>");
              if (_jspx_meth_bean_write_5(_jspx_th_logic_iterate_0, _jspx_page_context))
                return;
              out.write("</td>\r\n");
              out.write("                  </tr>\r\n");
              out.write("                  ");
tr=!tr;
              out.write("\r\n");
              out.write("                ");
              int evalDoAfterBody = _jspx_th_logic_iterate_0.doAfterBody();
              ListShowBean = (java.lang.Object) _jspx_page_context.findAttribute("ListShowBean");
              if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                break;
            } while (true);
            if (_jspx_eval_logic_iterate_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE)
              out = _jspx_page_context.popBody();
          }
          if (_jspx_th_logic_iterate_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
            return;
          _jspx_tagPool_logic_iterate_property_name_id.reuse(_jspx_th_logic_iterate_0);
          out.write("\r\n");
          out.write("                <tr>\r\n");
          out.write("                  <td align=\"right\" class=\"mainlisttitle\" colspan=\"7\"> <table width=\"100%\"  border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">\r\n");
          out.write("                  <tr><td width=\"36%\" align=\"left\"  class=\"mainlisttitle\"><div align=\"center\"><span class=\"wordhrm4\">当前/总数&nbsp;&nbsp;(");
          out.print(pagectl.fromRow);
          out.write('-');
          out.print(pagectl.toRow);
          out.write(')');
          out.write('/');
          out.print(pagectl.totalRow);
          out.write("</span></div></td>\r\n");
          out.write("                    <td width=\"64%\" align=\"center\" class=\"mainlisttitle\"><div align=\"right\"> \r\n");
          out.write("\t\t\t\t\t  第");
          //  html:select
          org.apache.struts.taglib.html.SelectTag _jspx_th_html_select_1 = (org.apache.struts.taglib.html.SelectTag) _jspx_tagPool_html_select_property_onchange.get(org.apache.struts.taglib.html.SelectTag.class);
          _jspx_th_html_select_1.setPageContext(_jspx_page_context);
          _jspx_th_html_select_1.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_html_form_0);
          _jspx_th_html_select_1.setProperty("toPage");
          _jspx_th_html_select_1.setOnchange("submitForm('goto','');");
          int _jspx_eval_html_select_1 = _jspx_th_html_select_1.doStartTag();
          if (_jspx_eval_html_select_1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
            if (_jspx_eval_html_select_1 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
              out = _jspx_page_context.pushBody();
              _jspx_th_html_select_1.setBodyContent((javax.servlet.jsp.tagext.BodyContent) out);
              _jspx_th_html_select_1.doInitBody();
            }
            do {
              out.write("\r\n");
              out.write("\t\t\t\t\t\t");
for(int i=1;i<=pagectl.totalPage;i++){
              out.write("\r\n");
              out.write("\t\t\t\t\t\t");
              //  html:option
              org.apache.struts.taglib.html.OptionTag _jspx_th_html_option_4 = (org.apache.struts.taglib.html.OptionTag) _jspx_tagPool_html_option_value_nobody.get(org.apache.struts.taglib.html.OptionTag.class);
              _jspx_th_html_option_4.setPageContext(_jspx_page_context);
              _jspx_th_html_option_4.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_html_select_1);
              _jspx_th_html_option_4.setValue(Integer.toString(i));
              int _jspx_eval_html_option_4 = _jspx_th_html_option_4.doStartTag();
              if (_jspx_th_html_option_4.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
                return;
              _jspx_tagPool_html_option_value_nobody.reuse(_jspx_th_html_option_4);
              out.write("\r\n");
              out.write("\t\t\t\t\t\t");
}
              out.write("\r\n");
              out.write("\t\t\t\t\t\t");
              int evalDoAfterBody = _jspx_th_html_select_1.doAfterBody();
              if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                break;
            } while (true);
            if (_jspx_eval_html_select_1 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE)
              out = _jspx_page_context.popBody();
          }
          if (_jspx_th_html_select_1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
            return;
          _jspx_tagPool_html_select_property_onchange.reuse(_jspx_th_html_select_1);
          out.write("\r\n");
          out.write("                        页     <a href=\"#\" onclick=\"javascript:submitForm('prev','');\"><img src=\"");
          out.print(Constant.ROOTPATH);
          out.write("images/");
          out.print(css_name);
          out.write("/backpage.gif\" width=\"19\" height=\"19\" border=\"0\" alt=\"上一页\" align=\"absmiddle\" >上一页</a>\r\n");
          out.write("                        &nbsp;&nbsp;&nbsp;&nbsp; <a href=\"#\" onclick=\"javascript:submitForm('next','');\">下一页<img src=\"");
          out.print(Constant.ROOTPATH);
          out.write("images/");
          out.print(css_name);
          out.write("/forwardpage.gif\" width=\"19\" height=\"19\" border=\"0\" alt=\"下一页\" align=\"absmiddle\" ></a></div></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("\t </th>\r\n");
          out.write("\t <th rowspan=\"2\" class=\"maintableright\" scope=\"col\"></th></tr></table>\r\n");
          out.write("\t <table width=\"98%\" cellpadding=\"0\" cellspacing=\"0\" >\r\n");
          out.write("\t   <tr>\r\n");
          out.write("\t   <th width=\"65\" height=\"41\" scope=\"col\"><img src=\"");
          out.print(Constant.ROOTPATH);
          out.write("/images/");
          out.print(css_name);
          out.write("/maintablebottomhy1.gif\" width=\"65\" height=\"41\"></th>\r\n");
          out.write("\t   <td class=\"maintablebottom\" width=\"100%\"></td>\r\n");
          out.write("\t   <th width=\"65\" height=\"41\" scope=\"col\"><img src=\"");
          out.print(Constant.ROOTPATH);
          out.write("/images/");
          out.print(css_name);
          out.write("/maintablebottomhy2.gif\" width=\"65\" height=\"41\"></th></tr></table>\r\n");
          out.write("\r\n");
          out.write("\t\t   </th>\r\n");
          out.write("\t\t <th class=\"labletableright\" scope=\"col\"></th></tr></table>\r\n");
          out.write("\t\t <table width=\"95%\"  border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\" height=\"9\">\r\n");
          out.write("    <tr>\r\n");
          out.write("      <th width=\"8\" height=\"9\" scope=\"col\"><img src=\"");
          out.print(Constant.ROOTPATH);
          out.write("/images/");
          out.print(css_name);
          out.write("/lableimages/bottomtable_left.gif\" width=\"8\" height=\"9\"></th>\r\n");
          out.write("      <th width=\"100%\" height=\"9\" background=\"");
          out.print(Constant.ROOTPATH);
          out.write("/images/");
          out.print(css_name);
          out.write("/lableimages/bottomtable_middle.gif\" scope=\"col\"></th>\r\n");
          out.write("      <th width=\"8\" height=\"9\" scope=\"col\"><img src=\"");
          out.print(Constant.ROOTPATH);
          out.write("/images/");
          out.print(css_name);
          out.write("/lableimages/bottomtable_right.gif\" width=\"8\" height=\"9\"></th>\r\n");
          out.write("    </tr>\r\n");
          out.write("  </table>\r\n");
          out.write("  ");
          int evalDoAfterBody = _jspx_th_html_form_0.doAfterBody();
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
      }
      if (_jspx_th_html_form_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_html_form_scope_action.reuse(_jspx_th_html_form_0);
      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 + -