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

📄 archivetext_jsp.java

📁 一套JAVA开发的OA系统,包括工作流,客户管理、个人管理、车辆管理,人事管理等。
💻 JAVA
📖 第 1 页 / 共 4 页
字号:
          out.write("\t   ");
}
          out.write("\r\n");
          out.write("     </tr></table>\r\n");
          out.write("\r\n");
          out.write("          </div></th>\r\n");
          out.write("        <th width=\"9\" scope=\"col\"><img src=\"");
          out.print(Constant.ROOTPATH);
          out.write("images/");
          out.print(css_name);
          out.write("/lableimages/toptable_right.gif\" width=\"9\" height=\"29\"></th>\r\n");
          out.write("      </tr>\r\n");
          out.write("    </table>\r\n");
          out.write("  ");
          //  html:hidden
          org.apache.struts.taglib.html.HiddenTag _jspx_th_html_hidden_11 = (org.apache.struts.taglib.html.HiddenTag) _jspx_tagPool_html_hidden_value_property_nobody.get(org.apache.struts.taglib.html.HiddenTag.class);
          _jspx_th_html_hidden_11.setPageContext(_jspx_page_context);
          _jspx_th_html_hidden_11.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_html_form_0);
          _jspx_th_html_hidden_11.setProperty("$name");
          _jspx_th_html_hidden_11.setValue(title+".doc");
          int _jspx_eval_html_hidden_11 = _jspx_th_html_hidden_11.doStartTag();
          if (_jspx_th_html_hidden_11.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
            return;
          _jspx_tagPool_html_hidden_value_property_nobody.reuse(_jspx_th_html_hidden_11);
          out.write("\r\n");
          out.write(" <table width=\"95%\" cellpadding=\"0\" border=\"0\" class=\"lablemiddletable\" cellspacing=\"0\" align=\"center\">\r\n");
          out.write("    <tr>\r\n");
          out.write("\t  <th height=\"3\" class=\"labletableleft\"></th>\r\n");
          out.write("\t  <th>\r\n");
          out.write("\t    <table width=\"98%\" cellpadding=\"0\" cellspacing=\"0\">\r\n");
          out.write("\t\t <tr>\r\n");
          out.write("\t\t   <th  width=\"65\" height=\"41\" align=\"left\" ><img src=\"");
          out.print(Constant.ROOTPATH);
          out.write("/images/");
          out.print(css_name);
          out.write("/maintabletophy1.gif\"  width=\"65\" height=\"41\"></th>\r\n");
          out.write("\r\n");
          out.write("          <th  class=\"mainnoteword\" align=\"left\"><font class=\"mainnotefont\">正文信息</font></th>\r\n");
          out.write("\t\t   <th  width=\"65\" height=\"41\"><img src=\"");
          out.print(Constant.ROOTPATH);
          out.write("/images/");
          out.print(css_name);
          out.write("/maintabletophy2.gif\"  width=\"65\" height=\"41\"></th></tr></table>\r\n");
          out.write("\t\t\t\t   <table width=\"98%\" cellpadding=\"0\" cellspacing=\"0\">\r\n");
          out.write("     <tr>\r\n");
          out.write("\t\t\t   <th width=\"9\" height=\"2\" class=\"maintableleft\"></th>\r\n");
          out.write("\t\t\t   <th>\r\n");
          out.write("\t\t\t     <table width=\"100%\" border=\"1\" bordercolor=\"#FFFFFF\" cellpadding=\"0\" cellspacing=\"0\" class=\"mainlisttable\">\r\n");
          out.write("\t\t\t\t   <tr>\r\n");
          out.write("\r\n");
          out.write("                  <td width=\"33%\" align=\"center\" class=\"mainlisttabledark\">标题</td>\r\n");
          out.write("\r\n");
          out.write("                  <td width=\"67%\" ><select name=\"edittext\" style=\"width:300;height:60\" class=\"select\">\r\n");
          out.write("                      <option value=\"\" selected>");
          out.print(title);
          out.write("</option>\r\n");
          out.write("                    </select></td>\r\n");
          out.write("              </tr>\r\n");
          out.write("\r\n");
          out.write("\t\t\t\t   <tr>\r\n");
          out.write("\r\n");
          out.write("                  <td colspan=\"4\" align=\"center\"> <p>\r\n");
          out.write("                      ");
if(text!=true){
          out.write("\r\n");
          out.write("                      <input type=\"button\" name=\"submit121\" onClick=\"javascript:openNew()\" class=\"button\" value=\"新增正文\">\r\n");
          out.write("                      ");
}else{
          out.write("\r\n");
          out.write("                      <input type=\"button\" name=\"submit122\"   class=\"button\" value=\"编辑正文\" onClick=\"javascript:downLoad()\">\r\n");
          out.write("                      ");
}
          out.write("\r\n");
          out.write("                      <input type=\"button\" name=\"submit123\" onClick=\"upLoad();window.location.reload();\" class=\"button\" value=\"上  传\" style=\"display:none\">\r\n");
          out.write("                    </p></td>\r\n");
          out.write("                </tr></table>\r\n");
          out.write("\t\t\t    </th>\r\n");
          out.write("\t\t\t   <th width=\"9\" height=\"2\" class=\"maintableright\"></th></tr></table>\r\n");
          out.write("\t\t\t   <table width=\"98%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\r\n");
          out.write("\t\t\t     <tr>\r\n");
          out.write("\t\t\t\t  <th  width=\"65\" height=\"41\"><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("\r\n");
          out.write("          <th width=\"86%\" valign=\"top\" class=\"maintablebottom\" >&nbsp; </th>\r\n");
          out.write("\t\t\t\t  <th  width=\"65\" height=\"41\"><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("\t\t\t\t  <table width=\"98%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\r\n");
          out.write("\t\t     <tr>\r\n");
          out.write("\t\t\t   <th width=\"65\" height=\"41\" scope=\"col\"><img src=\"");
          out.print(Constant.ROOTPATH);
          out.write("/images/");
          out.print(css_name);
          out.write("/maintabletophy1.gif\" width=\"65\" height=\"41\"></th>\r\n");
          out.write("\r\n");
          out.write("          <th class=\"mainnoteword\" align=\"left\"><font class=\"mainnotefont\">范文正文历史版本列表</font> </th>\r\n");
          out.write("\t\t\t   <th width=\"65\" height=\"41\" scope=\"col\"><img src=\"");
          out.print(Constant.ROOTPATH);
          out.write("/images/");
          out.print(css_name);
          out.write("/maintabletophy2.gif\" width=\"65\" height=\"41\"></th>\r\n");
          out.write("\t\t\t  </tr>\r\n");
          out.write("\t\t  </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  class=\"maintableleft\"></th>\r\n");
          out.write("\t <th>\r\n");
          out.write("\t  <table width=\"100%\" cellpadding=\"0\" cellspacing=\"1\" border=\"0\" bordercolor=\"#FFFFFF\" class=\"mainlisttable\">\r\n");
          out.write("\t    <tr class=\"mainlisttitle\" align=\"center\">\r\n");
          out.write("\t\t        <td>序号</td>\r\n");
          out.write("\t\t        <td>创建者</td>\r\n");
          out.write("\t\t        <td>创建时间</td>\r\n");
          out.write("\t\t        <td>任务结点</td>\r\n");
          out.write("\t\t        <td>当前版本</td>\r\n");
          out.write("\t\t        <td>版本文档</td>\r\n");
          out.write("              </tr>\r\n");
          out.write("\t");
if(pagectl.flag){
          out.write("\r\n");
          out.write("\t<tr class=\"mainlisttabledark\"><td colspan=\"6\" align=\"center\"><font color=\"#FF0000\">没有相关记录</font></td></tr>\r\n");
          out.write("\t");
}
          out.write('\r');
          out.write('\n');
          out.write('	');
boolean tr=true;
	  int i=0;
          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("TextForm");
          _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("\t   ");
if(tr){
              out.write("\r\n");
              out.write("\t   <tr align=\"center\" class=\"mainlisttabledark\">\r\n");
              out.write("\t   ");
} else {
              out.write("\r\n");
              out.write("\t   <tr  align=\"center\">\r\n");
              out.write("\t   ");
}
              out.write("\r\n");
              out.write("\t   ");

		i++;
		HashMap map = (HashMap)ListShowBean ;
	     String storage = (String)map.get("$storge_name");
		 String creater = (String)map.get("$creater");
		 String docURL = "/oa/file/"+storage;

		 //String docURL = "file:///c:/tempPath.doc";
              out.write("\r\n");
              out.write("\r\n");
              out.write("\t   <td align=\"center\">");
              out.print(i);
              out.write("</td>\r\n");
              out.write("\t   <td>");
              if (_jspx_meth_bean_write_0(_jspx_th_logic_iterate_0, _jspx_page_context))
                return;
              out.write("</td>\r\n");
              out.write("\t   <td>");
              if (_jspx_meth_bean_write_1(_jspx_th_logic_iterate_0, _jspx_page_context))
                return;
              out.write("</td>\r\n");
              out.write("\t   <td>");
              if (_jspx_meth_bean_write_2(_jspx_th_logic_iterate_0, _jspx_page_context))
                return;
              out.write("</td>\r\n");
              out.write("\t   <td>");
              if (_jspx_meth_bean_write_3(_jspx_th_logic_iterate_0, _jspx_page_context))
                return;
              out.write("</td>\r\n");
              out.write("\t   <td><a href=\"");
              out.print(docURL);
              out.write("\" target=\"_blank\">");
              if (_jspx_meth_bean_write_4(_jspx_th_logic_iterate_0, _jspx_page_context))
                return;
              out.write("</a> </td>\r\n");
              out.write("\t   </tr>\r\n");
              out.write("\t   ");
tr=!tr;
              out.write('\r');
              out.write('\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("\t<tr>\r\n");
          out.write("\t <td align=\"right\" colspan=\"6\" class=\"mainlisttitle\"><div align=\"right\"> </div>  </td>\r\n");
          out.write("\t</tr>\r\n");
          out.write("\t </table>\r\n");
          out.write("\t    </th>\r\n");
          out.write("\r\n");
          out.write("\t  <th  height=\"2\" class=\"maintableright\"></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         <th valign=\"top\" class=\"maintablebottom\" scope=\"col\"><table width=\"100%\" height=\"41\"  border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\r\n");
          out.write("                <tr>\r\n");
          out.write("                  <th scope=\"col\"> <div align=\"center\"><input name=\"Submit42\" type=\"button\" class=\"button\" value=\"提  交\" style=\"display:");
          out.print(actionMap.get("submit"));
          out.write("\" onClick=\"submitForm('");
          out.print(appMap.get("shortName"));
          out.write("_submit','')\">\r\n");
          out.write("               </div></th>\r\n");
          out.write("                </tr>\r\n");
          out.write("                <tr>\r\n");
          out.write("                  <th height=\"10\" scope=\"row\"></th>\r\n");
          out.write("                </tr>\r\n");
          out.write("              </table></th>\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("\t </th>\r\n");
          out.write("\t <th class=\"labletableright\"></th></tr>\r\n");
          out.write("\t</table>\r\n");
          out.write("\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);

⌨️ 快捷键说明

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