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

📄 attachfile_jsp.java

📁 一套JAVA开发的OA系统,包括工作流,车辆管理,人事管理等
💻 JAVA
📖 第 1 页 / 共 4 页
字号:
          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(" <table width=\"95%\" cellpadding=\"0\"  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 width=\"65\" height=\"41\" src=\"");
          out.print(Constant.ROOTPATH);
          out.write("/images/");
          out.print(css_name);
          out.write("/maintabletophy1.gif\"></th>\r\n");
          out.write("\r\n");
          out.write("          <th width=\"86%\" class=\"mainnoteword\" align=\"left\"><font class=\"mainnotefont\">附件信息</font></th>\r\n");
          out.write("\t\t   <th width=\"65\" height=\"41\"><img width=\"65\" height=\"41\" src=\"");
          out.print(Constant.ROOTPATH);
          out.write("/images/");
          out.print(css_name);
          out.write("/maintabletophy2.gif\"></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=\"40%\" align=\"center\" class=\"mainlisttabledark\">附件:</td>\r\n");
          out.write("\r\n");
          out.write("                  <td width=\"60%\" >");
          if (_jspx_meth_html_file_0(_jspx_th_html_form_0, _jspx_page_context))
            return;
          out.write("</td>\r\n");
          out.write("              </tr>\r\n");
          out.write("\r\n");
          out.write("\t\t\t\t   <tr>\r\n");
          out.write("\t\t\t\t    <td colspan=\"4\" align=\"center\">\r\n");
          out.write("\t\t\t\t       <input type=\"button\" name=\"submit12\" onClick=\"submitForm('insert','')\" class=\"button\" value=\"保  存\">\r\n");
          out.write("                    &nbsp; </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 width=\"65\" height=\"41\" src=\"");
          out.print(Constant.ROOTPATH);
          out.write("/images/");
          out.print(css_name);
          out.write("/maintablebottomhy1.gif\"></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\"  ><font class=\"mainnotefont\" ><div align=\"left\">附件列表</div></font>\r\n");
          out.write("\r\n");
          out.write("            </th>\r\n");
          out.write("\t\t\t <th class=\"mainnoteword\"  align=\"right\">\r\n");
          out.write("\r\n");
          out.write("            </th>\r\n");
          out.write("            <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');
          out.write('\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("FileForm");
          _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");
		 boolean select = (userID.equals(creater));
		 String docURL = "/oa/file/"+storage;
              out.write("\r\n");
              out.write("\t   <td align=\"center\">\r\n");
              out.write("\t       <input type=\"checkbox\" name=\"selected\" value=\"");
              out.print(storage);
              out.write("\" onClick=\"javascript:return getDel('");
              out.print(creater);
              out.write('\'');
              out.write(',');
              out.write('\'');
              out.print(userID);
              out.write("')\" ></td>\r\n");
              out.write("\t   <td><a href=\"");
              out.print(docURL);
              out.write("\" target=\"_blank\">");
              if (_jspx_meth_bean_write_0(_jspx_th_logic_iterate_0, _jspx_page_context))
                return;
              out.write("</a></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>");
              if (_jspx_meth_bean_write_4(_jspx_th_logic_iterate_0, _jspx_page_context))
                return;
              out.write("</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 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\">\r\n");
          out.write("             &nbsp;<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("                 &nbsp; &nbsp;<input name=\"Submit323\" type=\"button\" class=\"button\" value=\"删  除\" onClick=\"submitForm('delete','')\">  </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);
          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("\t  ");
          int evalDoAfterBody = _jspx_th_html_form_0.doAfterBody();
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);

⌨️ 快捷键说明

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