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

📄 dms_0002fdocument_0002frecedocedt1_0002ejsp_jsp.java

📁 一个简单的公文管理系统
💻 JAVA
📖 第 1 页 / 共 4 页
字号:
                			DocAttributeDAO[] docAttribute = (DocAttributeDAO[])session.getAttribute("AttributeDAO");
                			if(docAttribute!=null)
                			{
                				for(int i=0; i<docAttribute.length; i++)
                				{
            // end
            // HTML // begin [file="/DMS/document/ReceDocEdt1.jsp";from=(366,2);to=(367,27)]
                out.write("\r\n            <option value=\"");

            // end
            // begin [file="/DMS/document/ReceDocEdt1.jsp";from=(367,30);to=(367,62)]
                out.print(docAttribute[i].getAttributeID());
            // end
            // HTML // begin [file="/DMS/document/ReceDocEdt1.jsp";from=(367,64);to=(367,66)]
                out.write("\">");

            // end
            // begin [file="/DMS/document/ReceDocEdt1.jsp";from=(367,69);to=(367,103)]
                out.print(docAttribute[i].getAttributeName());
            // end
            // HTML // begin [file="/DMS/document/ReceDocEdt1.jsp";from=(367,105);to=(368,0)]
                out.write("</option>\r\n");

            // end
            // begin [file="/DMS/document/ReceDocEdt1.jsp";from=(368,2);to=(372,0)]
                
                				}
                				session.removeAttribute("AttributeDAO");
                			}
            // end
            // HTML // begin [file="/DMS/document/ReceDocEdt1.jsp";from=(372,2);to=(380,0)]
                out.write("\r\n\t\t</select>\r\n    </td>\r\n  </tr>\r\n  <tr>\r\n    <th noWrap>密等:</th>\r\n    <td>\r\n\t\t<select name=\"SecretID\" size=\"1\">\r\n");

            // end
            // begin [file="/DMS/document/ReceDocEdt1.jsp";from=(380,2);to=(386,0)]
                
                			DocSecretDAO[] docSecret = (DocSecretDAO[])session.getAttribute("SecretDAO");
                			if(docSecret!=null)
                			{
                				for(int i=0; i<docSecret.length; i++)
                				{
            // end
            // HTML // begin [file="/DMS/document/ReceDocEdt1.jsp";from=(386,2);to=(387,27)]
                out.write("\r\n            <option value=\"");

            // end
            // begin [file="/DMS/document/ReceDocEdt1.jsp";from=(387,30);to=(387,56)]
                out.print(docSecret[i].getSecretID());
            // end
            // HTML // begin [file="/DMS/document/ReceDocEdt1.jsp";from=(387,58);to=(387,60)]
                out.write("\">");

            // end
            // begin [file="/DMS/document/ReceDocEdt1.jsp";from=(387,63);to=(387,91)]
                out.print(docSecret[i].getSecretName());
            // end
            // HTML // begin [file="/DMS/document/ReceDocEdt1.jsp";from=(387,93);to=(388,0)]
                out.write("</option>\r\n");

            // end
            // begin [file="/DMS/document/ReceDocEdt1.jsp";from=(388,2);to=(392,0)]
                
                				}
                				session.removeAttribute("SecretDAO");
                			}
            // end
            // HTML // begin [file="/DMS/document/ReceDocEdt1.jsp";from=(392,2);to=(398,0)]
                out.write("\r\n        </select>\r\n\t</td>\r\n\t<th noWrap>速別:</th>\r\n    <td>\r\n\t    <select name=\"SpeedID\" size=\"1\">\r\n");

            // end
            // begin [file="/DMS/document/ReceDocEdt1.jsp";from=(398,2);to=(404,0)]
                
                			DocSpeedDAO[] docSpeed = (DocSpeedDAO[])session.getAttribute("SpeedDAO");
                			if(docSpeed!=null)
                			{
                				for(int i=0; i<docSpeed.length; i++)
                				{
            // end
            // HTML // begin [file="/DMS/document/ReceDocEdt1.jsp";from=(404,2);to=(405,27)]
                out.write("\r\n            <option value=\"");

            // end
            // begin [file="/DMS/document/ReceDocEdt1.jsp";from=(405,30);to=(405,54)]
                out.print(docSpeed[i].getSpeedID());
            // end
            // HTML // begin [file="/DMS/document/ReceDocEdt1.jsp";from=(405,56);to=(405,58)]
                out.write("\">");

            // end
            // begin [file="/DMS/document/ReceDocEdt1.jsp";from=(405,61);to=(405,87)]
                out.print(docSpeed[i].getSpeedName());
            // end
            // HTML // begin [file="/DMS/document/ReceDocEdt1.jsp";from=(405,89);to=(406,0)]
                out.write("</option>\r\n");

            // end
            // begin [file="/DMS/document/ReceDocEdt1.jsp";from=(406,2);to=(410,0)]
                
                				}
                				session.removeAttribute("SpeedDAO");
                			}
            // end
            // HTML // begin [file="/DMS/document/ReceDocEdt1.jsp";from=(410,2);to=(418,0)]
                out.write("\r\n        </select>\r\n\t</td>\r\n  </tr>\r\n  <tr>\r\n\t<th noWrap>文別:</th>\r\n\t<td>\r\n\t\t<select name=\"TypeID\" size=\"1\">\r\n");

            // end
            // begin [file="/DMS/document/ReceDocEdt1.jsp";from=(418,2);to=(424,0)]
                
                			DocTypeDAO[] docType = (DocTypeDAO[])session.getAttribute("TypeDAO");
                			if(docType!=null)
                			{
                				for(int i=0; i<docType.length; i++)
                				{
            // end
            // HTML // begin [file="/DMS/document/ReceDocEdt1.jsp";from=(424,2);to=(425,27)]
                out.write("\r\n            <option value=\"");

            // end
            // begin [file="/DMS/document/ReceDocEdt1.jsp";from=(425,30);to=(425,52)]
                out.print(docType[i].getTypeID());
            // end
            // HTML // begin [file="/DMS/document/ReceDocEdt1.jsp";from=(425,54);to=(425,56)]
                out.write("\">");

            // end
            // begin [file="/DMS/document/ReceDocEdt1.jsp";from=(425,59);to=(425,83)]
                out.print(docType[i].getTypeName());
            // end
            // HTML // begin [file="/DMS/document/ReceDocEdt1.jsp";from=(425,85);to=(426,0)]
                out.write("</option>\r\n");

            // end
            // begin [file="/DMS/document/ReceDocEdt1.jsp";from=(426,2);to=(430,0)]
                
                				}
                				session.removeAttribute("TypeDAO");
                			}
            // end
            // HTML // begin [file="/DMS/document/ReceDocEdt1.jsp";from=(430,2);to=(436,0)]
                out.write("\r\n\t\t</select>\r\n\t</td>\r\n    <th noWrap>本別:</th>\r\n    <td>\r\n\t\t<select name=\"CopyID\" size=\"1\">\r\n");

            // end
            // begin [file="/DMS/document/ReceDocEdt1.jsp";from=(436,2);to=(442,0)]
                
                			DocCopyDAO[] docCopy = (DocCopyDAO[])session.getAttribute("CopyDAO");
                			if(docCopy!=null)
                			{
                				for(int i=0; i<docCopy.length; i++)
                				{
            // end
            // HTML // begin [file="/DMS/document/ReceDocEdt1.jsp";from=(442,2);to=(443,27)]
                out.write("\r\n            <option value=\"");

            // end
            // begin [file="/DMS/document/ReceDocEdt1.jsp";from=(443,30);to=(443,52)]
                out.print(docCopy[i].getCopyID());
            // end
            // HTML // begin [file="/DMS/document/ReceDocEdt1.jsp";from=(443,54);to=(443,56)]
                out.write("\">");

            // end
            // begin [file="/DMS/document/ReceDocEdt1.jsp";from=(443,59);to=(443,83)]
                out.print(docCopy[i].getCopyName());
            // end
            // HTML // begin [file="/DMS/document/ReceDocEdt1.jsp";from=(443,85);to=(444,0)]
                out.write("</option>\r\n");

            // end
            // begin [file="/DMS/document/ReceDocEdt1.jsp";from=(444,2);to=(448,0)]
                
                				}
                				session.removeAttribute("CopyDAO");
                			}
            // end
            // HTML // begin [file="/DMS/document/ReceDocEdt1.jsp";from=(448,2);to=(460,59)]
                out.write("\r\n\r\n        </select>\r\n\t</td>\r\n  </tr>\r\n  <tr>\r\n    <th>解密條件:</th>\r\n    <td >\r\n\t\t<input class=\"text\" name=\"DesecretCondition\">\r\n\t </td>\r\n    <th>解密時間:</th>\r\n    <td>\r\n\t\t<SCRIPT>var DesecretDate=createDatePicker(\"DesecretDate\",");

            // end
            // begin [file="/DMS/document/ReceDocEdt1.jsp";from=(460,62);to=(460,64)]
                out.print(y1);
            // end
            // HTML // begin [file="/DMS/document/ReceDocEdt1.jsp";from=(460,66);to=(460,67)]
                out.write(",");

            // end
            // begin [file="/DMS/document/ReceDocEdt1.jsp";from=(460,70);to=(460,72)]
                out.print(m1);
            // end
            // HTML // begin [file="/DMS/document/ReceDocEdt1.jsp";from=(460,74);to=(460,75)]
                out.write(",");

            // end
            // begin [file="/DMS/document/ReceDocEdt1.jsp";from=(460,78);to=(460,80)]
                out.print(d1);
            // end
            // HTML // begin [file="/DMS/document/ReceDocEdt1.jsp";from=(460,82);to=(474,51)]
                out.write(");</SCRIPT>\r\n    </td>\r\n  </tr>\r\n  <tr>\r\n    <th noWrap>限辦類型:</th>\r\n    <td>\r\n\t\t<select name=\"TermTypeID\" size=\"1\">\r\n\t\t  <option selected value=\"1\">上級限辦日</option>\r\n\t\t  <option value=\"2\">機關限辦日</option>\r\n\t\t  <option value=\"3\">指定限辦日</option>\r\n        </select>\r\n\t</td>\r\n    <th noWrap>限辦時間:</th>\r\n    <td colspan=3>\r\n\t\t<SCRIPT>var TermDate=createDatePicker(\"TermDate\",");

            // end
            // begin [file="/DMS/document/ReceDocEdt1.jsp";from=(474,54);to=(474,56)]
                out.print(y1);
            // end
            // HTML // begin [file="/DMS/document/ReceDocEdt1.jsp";from=(474,58);to=(474,59)]
                out.write(",");

            // end
            // begin [file="/DMS/document/ReceDocEdt1.jsp";from=(474,62);to=(474,64)]
                out.print(m1);
            // end
            // HTML // begin [file="/DMS/document/ReceDocEdt1.jsp";from=(474,66);to=(474,67)]
                out.write(",");

            // end
            // begin [file="/DMS/document/ReceDocEdt1.jsp";from=(474,70);to=(474,72)]
                out.print(d1);
            // end
            // HTML // begin [file="/DMS/document/ReceDocEdt1.jsp";from=(474,74);to=(535,41)]
                out.write(");</SCRIPT>\r\n\t</td>\r\n  </tr>\r\n  <tr>\r\n    <th noWrap>主旨#:</th>\r\n    <td colSpan=\"3\">\r\n\t\t<input name=\"SubjectPhrase\" title=\"輸入完,按F2鍵\" value=\"詞庫輸入框\" onKeyDown=\"OnSubjectKeyDown()\">\r\n        <input name=\"Subject\">*\r\n\t</td>\r\n  </tr>\r\n  <tr>\r\n    <th noWrap>主檔:</th>\r\n    <td noWrap colspan=\"3\">\r\n\t\t<input type=\"text\" name=\"MainDoc\">\r\n\t\t<input type=\"button\" value=\"清除原主檔\">若要更新主檔請按瀏覽<br>\r\n\t\t主檔:\t<input type=\"file\" name=\"MainDoc\">\r\n    </td>\r\n  </tr>\r\n  <tr>\r\n    <th noWrap>附件說明#:&nbsp;</th>\r\n    <td noWrap>\r\n\t\t<input name=\"AttachDescPhrase\" value=\"詞庫輸入框\" onKeyDown=\"OnAttachDescKeyDown()\">\r\n        <input name=\"AttachDesc\"></td>\r\n    <th noWrap>附件數:</th>\r\n    <td noWrap>\r\n\t\t<input type=\"text\" name=\"AttachCount\" value=\"0\">*&nbsp;\r\n\t\t<input type=\"button\" name=\"btnAddAttr\" value=\"新增附件\">\r\n\t</td>\r\n  </tr>\r\n  <tr>\r\n    <td colspan=\"4\">&nbsp;&nbsp;&nbsp;&nbsp; 檔名1:\r\n\t\t<input type=\"file\" name=\"AttachFileName1\">\r\n    </td>\r\n  </tr>\r\n  <tr>\r\n    <th noWrap>承辦單位#</th>\r\n    <td>\r\n\t\t<input type=\"text\" name=\"UndertakeDeptName\" value=\"\">\r\n\t</td>\r\n    <th noWrap>承辦人:</th>\r\n    <td>\r\n\t\t<input type=\"text\" name=\"UndertakeUserName\">\r\n\t</td>\r\n  </tr>\r\n</table>\r\n<p align=\"center\">\r\n\t<input type=\"button\" value=\"確定\" onclick=submitCheck()>&nbsp;&nbsp;\r\n\t<input type=\"reset\" value=\"重設\">\r\n</p>\r\n  <input name=\"PostName\" type=\"hidden\" value=\"ReceDocModify\">\r\n  <input name=\"IssueOrgID\" type=\"hidden\" >\r\n  <input name=\"KindName\" type=\"hidden\" >\r\n  <input name=\"AttributeName\" type=\"hidden\" >\r\n  <input name=\"SecretName\" type=\"hidden\" >\r\n  <input name=\"SpeedName\" type=\"hidden\" >\r\n  <input name=\"TypeName\" type=\"hidden\" >\r\n  <input name=\"CopyName\" type=\"hidden\" >\r\n  <input name=\"TermTypeName\" type=\"hidden\" >\r\n  <input name=\"UndertakeDeptID\" type=\"hidden\" >\r\n  <input name=\"UndertakeUserID\" type=\"hidden\" >\r\n\r\n  <input name=\"act\" type=\"hidden\" value=\"");

            // end
            // begin [file="/DMS/document/ReceDocEdt1.jsp";from=(535,44);to=(535,47)]
                out.print(act);
            // end
            // HTML // begin [file="/DMS/document/ReceDocEdt1.jsp";from=(535,49);to=(539,0)]
                out.write("\">\r\n</form>\r\n</body>\r\n</html>\r\n");

            // 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 + -