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

📄 dms_0002farchive_0002farchivecategorylist_0002ejsp_jsp.java

📁 一个简单的公文管理系统
💻 JAVA
📖 第 1 页 / 共 2 页
字号:
            // HTML // begin [file="/DMS/archive/ArchiveCategoryList.jsp";from=(123,46);to=(123,51)]
                out.write("</td>");

            // end
            // begin [file="/DMS/archive/ArchiveCategoryList.jsp";from=(123,53);to=(123,54)]
                }
            // end
            // HTML // begin [file="/DMS/archive/ArchiveCategoryList.jsp";from=(123,56);to=(124,4)]
                out.write("\r\n    ");

            // end
            // begin [file="/DMS/archive/ArchiveCategoryList.jsp";from=(124,6);to=(124,32)]
                if (!sign.equals("four")){
            // end
            // HTML // begin [file="/DMS/archive/ArchiveCategoryList.jsp";from=(124,34);to=(125,85)]
                out.write("\r\n    <td width=\"25%\" align=\"center\"><a href=\"/WebAgenda/servlet/ArchiveCategoryServlet");

            // end
            // begin [file="/DMS/archive/ArchiveCategoryList.jsp";from=(125,88);to=(125,92)]
                out.print(para);
            // end
            // HTML // begin [file="/DMS/archive/ArchiveCategoryList.jsp";from=(125,94);to=(125,96)]
                out.write("\">");

            // end
            // begin [file="/DMS/archive/ArchiveCategoryList.jsp";from=(125,99);to=(125,108)]
                out.print(nestLevel);
            // end
            // HTML // begin [file="/DMS/archive/ArchiveCategoryList.jsp";from=(125,110);to=(126,3)]
                out.write("</a></td> \r\n   ");

            // end
            // begin [file="/DMS/archive/ArchiveCategoryList.jsp";from=(126,5);to=(126,6)]
                }
            // end
            // HTML // begin [file="/DMS/archive/ArchiveCategoryList.jsp";from=(126,8);to=(127,52)]
                out.write(" \r\n        <input type=\"hidden\" name=\"DetailNO\" value=\"");

            // end
            // begin [file="/DMS/archive/ArchiveCategoryList.jsp";from=(127,55);to=(127,90)]
                out.print(archiveCategoryDAO[i].getDetailNO());
            // end
            // HTML // begin [file="/DMS/archive/ArchiveCategoryList.jsp";from=(127,92);to=(128,53)]
                out.write("\">\r\n    \t<input type=\"hidden\" name=\"ParentNO_One\" value=\"");

            // end
            // begin [file="/DMS/archive/ArchiveCategoryList.jsp";from=(128,56);to=(128,64)]
                out.print(detailNO);
            // end
            // HTML // begin [file="/DMS/archive/ArchiveCategoryList.jsp";from=(128,66);to=(129,53)]
                out.write("\">\t \r\n    \t<input type=\"hidden\" name=\"ParentNO_Two\" value=\"");

            // end
            // begin [file="/DMS/archive/ArchiveCategoryList.jsp";from=(129,56);to=(129,68)]
                out.print(parentNO_One);
            // end
            // HTML // begin [file="/DMS/archive/ArchiveCategoryList.jsp";from=(129,70);to=(130,52)]
                out.write("\"> \r\n    \t<input type=\"hidden\" name=\"ActivateTag\" value=\"");

            // end
            // begin [file="/DMS/archive/ArchiveCategoryList.jsp";from=(130,55);to=(130,59)]
                out.print(flag);
            // end
            // HTML // begin [file="/DMS/archive/ArchiveCategoryList.jsp";from=(130,61);to=(131,49)]
                out.write("\">\r\n    \t<input type=\"hidden\" name=\"ParentNO\" value=\"");

            // end
            // begin [file="/DMS/archive/ArchiveCategoryList.jsp";from=(131,52);to=(131,87)]
                out.print(archiveCategoryDAO[i].getParentNO());
            // end
            // HTML // begin [file="/DMS/archive/ArchiveCategoryList.jsp";from=(131,89);to=(132,51)]
                out.write("\">\r\n    \t<input type=\"hidden\" name=\"CategoryNO\" value=\"");

            // end
            // begin [file="/DMS/archive/ArchiveCategoryList.jsp";from=(132,54);to=(132,126)]
                out.print((parentNO_Two+parentNO_One+detailNO+archiveCategoryDAO[i].getDetailNO()));
            // end
            // HTML // begin [file="/DMS/archive/ArchiveCategoryList.jsp";from=(132,128);to=(134,2)]
                out.write("\">\t\r\n  </tr>\r\n  ");

            // end
            // begin [file="/DMS/archive/ArchiveCategoryList.jsp";from=(134,4);to=(138,2)]
                
                  	//CategoryNO=parentNO_Two+parentNO_One+detailNO+archiveCategoryDAO[i].getDetailNO();	
                  }
                  //if(CategoryNO.equals("")) CategoryNO="00";
                  
            // end
            // HTML // begin [file="/DMS/archive/ArchiveCategoryList.jsp";from=(138,4);to=(144,6)]
                out.write("  \r\n  <tr>\r\n    <td width=\"657\" colspan=\"6\" align=\"center\">\r\n      <input type=\"button\" value=\"新增\" name=\"B1\" onClick=\"underway('add')\">\r\n      <input type=\"button\" value=\"修改\" name=\"B2\" onClick=\"underway('modify')\">\r\n      <input type=\"button\" value=\"刪除\" name=\"B3\" onClick=\"underway('delete')\">\r\n      ");

            // end
            // begin [file="/DMS/archive/ArchiveCategoryList.jsp";from=(144,8);to=(144,32)]
                if(sign.equals("one")) {
            // end
            // HTML // begin [file="/DMS/archive/ArchiveCategoryList.jsp";from=(144,34);to=(147,5)]
                out.write("\r\n      <input type=\"button\" value=\"開啟\" name=\"B4\" onClick=\"underway('inActivate')\">\r\n      <input type=\"button\" value=\"停用\" name=\"B5\" onClick=\"underway('activate')\">\r\n     ");

            // end
            // begin [file="/DMS/archive/ArchiveCategoryList.jsp";from=(147,7);to=(147,8)]
                }
            // end
            // HTML // begin [file="/DMS/archive/ArchiveCategoryList.jsp";from=(147,10);to=(156,5)]
                out.write("\t\r\n      <input type=\"button\" value=\"返回\" name=\"B6\" onClick=\"upOnePage()\">\r\n      </td>\r\n  </tr>\r\n</table>\r\n</form>\r\n</body>\r\n<script> \r\nfunction upOnePage(){\r\n\tif(\"");

            // end
            // begin [file="/DMS/archive/ArchiveCategoryList.jsp";from=(156,8);to=(156,12)]
                out.print(sign);
            // end
            // HTML // begin [file="/DMS/archive/ArchiveCategoryList.jsp";from=(156,14);to=(158,5)]
                out.write("\"==\"one\")\r\n\t\tlocation.href=\"DocSystem.jsp\";\r\n\tif(\"");

            // end
            // begin [file="/DMS/archive/ArchiveCategoryList.jsp";from=(158,8);to=(158,12)]
                out.print(sign);
            // end
            // HTML // begin [file="/DMS/archive/ArchiveCategoryList.jsp";from=(158,14);to=(160,5)]
                out.write("\"==\"two\")\r\n\t\tlocation.href=\"/WebAgenda/servlet/ArchiveCategoryServlet\";\r\n\tif(\"");

            // end
            // begin [file="/DMS/archive/ArchiveCategoryList.jsp";from=(160,8);to=(160,12)]
                out.print(sign);
            // end
            // HTML // begin [file="/DMS/archive/ArchiveCategoryList.jsp";from=(160,14);to=(160,27)]
                out.write("\"==\"three\"&&\"");

            // end
            // begin [file="/DMS/archive/ArchiveCategoryList.jsp";from=(160,30);to=(160,35)]
                out.print(para2);
            // end
            // HTML // begin [file="/DMS/archive/ArchiveCategoryList.jsp";from=(160,37);to=(161,58)]
                out.write("\"!=\"\"){ \r\n\t\tlocation.href=\"/WebAgenda/servlet/ArchiveCategoryServlet");

            // end
            // begin [file="/DMS/archive/ArchiveCategoryList.jsp";from=(161,61);to=(161,66)]
                out.print(para2);
            // end
            // HTML // begin [file="/DMS/archive/ArchiveCategoryList.jsp";from=(161,68);to=(163,5)]
                out.write("\";\r\n\t}\r\n\tif(\"");

            // end
            // begin [file="/DMS/archive/ArchiveCategoryList.jsp";from=(163,8);to=(163,12)]
                out.print(sign);
            // end
            // HTML // begin [file="/DMS/archive/ArchiveCategoryList.jsp";from=(163,14);to=(163,26)]
                out.write("\"==\"four\"&&\"");

            // end
            // begin [file="/DMS/archive/ArchiveCategoryList.jsp";from=(163,29);to=(163,34)]
                out.print(para2);
            // end
            // HTML // begin [file="/DMS/archive/ArchiveCategoryList.jsp";from=(163,36);to=(164,58)]
                out.write("\"!=\"\"){ \r\n\t\tlocation.href=\"/WebAgenda/servlet/ArchiveCategoryServlet");

            // end
            // begin [file="/DMS/archive/ArchiveCategoryList.jsp";from=(164,61);to=(164,66)]
                out.print(para2);
            // end
            // HTML // begin [file="/DMS/archive/ArchiveCategoryList.jsp";from=(164,68);to=(168,11)]
                out.write("\";\r\n\t}\r\n}\r\nfunction underway(temp){ \r\n\tvar index=");

            // end
            // begin [file="/DMS/archive/ArchiveCategoryList.jsp";from=(168,14);to=(168,15)]
                out.print(i);
            // end
            // HTML // begin [file="/DMS/archive/ArchiveCategoryList.jsp";from=(168,17);to=(181,9)]
                out.write(";\r\n\tvar flag=false;\r\n\tvar categoryNO=\"\"; \r\n\tvar categoryName=\"\";  \r\n\tvar detailNO=\"\";\r\n\tvar activateTag=\"0\";\r\n\tvar parentNO=\"0\";\r\n\tif(temp!=\"add\"){ \r\n\t\tif(index==1){\r\n\t\t\tcategoryNO=form1.CategoryNO.value;\r\n\t\t\tcategoryName=form1.CategoryName.value; \r\n\t\t\tparentNO=form1.ParentNO.value;\r\n\t\t\tdetailNO=form1.NO.value;\r\n\t\t\t//if(\"");

            // end
            // begin [file="/DMS/archive/ArchiveCategoryList.jsp";from=(181,12);to=(181,16)]
                out.print(sign);
            // end
            // HTML // begin [file="/DMS/archive/ArchiveCategoryList.jsp";from=(181,18);to=(194,11)]
                out.write("\"==\"one\")\r\n\t\t\t\tactivateTag=form1.ActivateTag.value;\r\n\t\t\tif(form1.NO.checked){\r\n\t\t\t\tflag=true; \r\n\t\t\t}\t\r\n\t\t}\r\n\t\tif(index>1){\r\n\t\t\tfor(i=0;i<form1.NO.length;i++)\r\n\t\t\t\tif(form1.NO[i].checked==true){\r\n\t\t\t\t\tcategoryNO=form1.CategoryNO[i].value;\r\n\t\t\t\t\tcategoryName=form1.CategoryName[i].value;\r\n\t\t\t\t\tdetailNO=form1.NO[i].value;\r\n\t\t\t\t\tparentNO=form1.ParentNO[i].value;\r\n\t\t\t\t\t//if(\"");

            // end
            // begin [file="/DMS/archive/ArchiveCategoryList.jsp";from=(194,14);to=(194,18)]
                out.print(sign);
            // end
            // HTML // begin [file="/DMS/archive/ArchiveCategoryList.jsp";from=(194,20);to=(206,14)]
                out.write("\"==\"one\")\r\n\t\t\t\t\t\tactivateTag=form1.ActivateTag[i].value;\r\n\t\t\t\t\tflag=true;\r\n\t\t\t\t\tbreak;\r\n\t\t\t\t} \r\n\t\t}\r\n\t}\r\n\tif(!flag&&temp!=\"add\"){\r\n\t\talert(\"請選擇.\");\r\n\t\treturn;\r\n\t}\r\n\tif(temp==\"add\"){\r\n\t\tcategoryNO=\"");

            // end
            // begin [file="/DMS/archive/ArchiveCategoryList.jsp";from=(206,17);to=(206,27)]
                out.print(CategoryNO);
            // end
            // HTML // begin [file="/DMS/archive/ArchiveCategoryList.jsp";from=(206,29);to=(211,17)]
                out.write("\";\r\n\t\tcategoryName=\"\";\r\n\t}\r\n\tvar para=\"?categoryNO=\"+categoryNO+\"&categoryName=\"+categoryName+\"&ActivateTag=\"+activateTag+\"&ParentNO=\"+parentNO;\r\n\taddr=\"CategoryInfo.jsp\";\r\n\taddr=addr+para+\"");

            // end
            // begin [file="/DMS/archive/ArchiveCategoryList.jsp";from=(211,20);to=(211,22)]
                out.print(p3);
            // end
            // HTML // begin [file="/DMS/archive/ArchiveCategoryList.jsp";from=(211,24);to=(220,52)]
                out.write("\";  \r\n\t//alert(temp);\r\n\tif(temp==\"add\"){ \r\n\t\ttempReturn=showModalDialog(addr+\"&act=add\",0,'dialogWidth=260px;dialogHeight=270px;center=yes;help=no;scroll=no;status=no');     \r\n\t}\r\n\tif(temp==\"modify\"){\r\n\t\ttempReturn=showModalDialog(addr+\"&act=modify\",0,'dialogWidth=260px;dialogHeight=270px;center=yes;help=no;scroll=no;status=no');     \r\n\t}\r\n\tif(temp==\"delete\"){\r\n\t\ttempPara=\"?act=delete&DetailNO_Access=\"+detailNO+\"");

            // end
            // begin [file="/DMS/archive/ArchiveCategoryList.jsp";from=(220,55);to=(220,57)]
                out.print(p3);
            // end
            // HTML // begin [file="/DMS/archive/ArchiveCategoryList.jsp";from=(220,59);to=(220,70)]
                out.write("&DetailTag=");

            // end
            // begin [file="/DMS/archive/ArchiveCategoryList.jsp";from=(220,73);to=(220,82)]
                out.print(detailTag);
            // end
            // HTML // begin [file="/DMS/archive/ArchiveCategoryList.jsp";from=(220,84);to=(220,106)]
                out.write("&ParentNO=\"+parentNO+\"");

            // end
            // begin [file="/DMS/archive/ArchiveCategoryList.jsp";from=(220,109);to=(220,118)]
                out.print(deleteStr);
            // end
            // HTML // begin [file="/DMS/archive/ArchiveCategoryList.jsp";from=(220,120);to=(228,93)]
                out.write("\";\r\n\t\t//alert(tempPara);\r\n\t\tform1.action=\"/WebAgenda/servlet/ArchiveCategoryServlet\"+tempPara;\r\n\t\tform1.target=\"basefrm\";  \r\n\t\tform1.method=\"post\";\r\n\t\tform1.submit();\r\n\t}\r\n\tif(temp==\"inActivate\"){\r\n\t\ttempPara=\"?act=inActivate&ActivateTag=0&DetailTag=1&ParentNO=0&DetailNO_Access=\"+detailNO+\"");

            // end
            // begin [file="/DMS/archive/ArchiveCategoryList.jsp";from=(228,96);to=(228,98)]
                out.print(p3);
            // end
            // HTML // begin [file="/DMS/archive/ArchiveCategoryList.jsp";from=(228,100);to=(237,91)]
                out.write("\";\r\n\t\ttempPara=\"/WebAgenda/servlet/ArchiveCategoryServlet\"+tempPara;\r\n\t\t//alert(tempPara);\r\n\t\tform1.action=tempPara;\r\n\t\tform1.target=\"basefrm\";\r\n\t\tform1.method=\"post\";\r\n\t\tform1.submit(); \r\n\t}\r\n\tif(temp==\"activate\"){\r\n\t\ttempPara=\"?act=activate&ActivateTag=1&DetailTag=1&ParentNO=0&DetailNO_Access=\"+detailNO+\"");

            // end
            // begin [file="/DMS/archive/ArchiveCategoryList.jsp";from=(237,94);to=(237,96)]
                out.print(p3);
            // end
            // HTML // begin [file="/DMS/archive/ArchiveCategoryList.jsp";from=(237,98);to=(246,0)]
                out.write("\";\r\n\t\t//alert(tempPara);\r\n\t\tform1.action=\"/WebAgenda/servlet/ArchiveCategoryServlet\"+tempPara;\r\n\t\tform1.target=\"basefrm\"; \r\n\t\tform1.method=\"post\";\r\n\t\tform1.submit();\r\n\t}   \r\n}\r\n</script>\r\n");

            // end
            // begin [file="/DMS/archive/ArchiveCategoryList.jsp";from=(246,2);to=(251,0)]
                
                	//session.removeAttribute("sign");
                	//session.removeAttribute("DetailNO");
                	//session.removeAttribute("ParentNO_One");
                	//session.removeAttribute("ParentNO_Two");
            // end
            // HTML // begin [file="/DMS/archive/ArchiveCategoryList.jsp";from=(251,2);to=(251,4)]
                out.write("  ");

            // end

        } catch (Throwable t) {
            if (out != null && out.getBufferSize() != 0)
                out.clearBuffer();
            if (pageContext != null) pageContext.handlePageException(t);
        } finally {
            if (_jspxFactory != null) _jspxFactory.releasePageContext(pageContext);
        }
    }
}

⌨️ 快捷键说明

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