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

📄 dms_0002fdocument_0002foutgodoc_0002ejsp_jsp.java

📁 一个简单的公文管理系统
💻 JAVA
📖 第 1 页 / 共 3 页
字号:
                
                                    DocKindDAO[] docKind = (DocKindDAO[])request.getAttribute("KindDAO");
                                    if(docKind!=null)
                                    for(int i=0; i<docKind.length; i++){
                                        int id = docKind[i].getKindID();
                                        String name = docKind[i].getKindName();
                                        out.print("<option value="+id+">"+name+"</option>");
                                     }   
                                  
            // end
            // HTML // begin [file="/DMS/document/OutgoDoc.jsp";from=(341,20);to=(347,0)]
                out.write("\r\n        </select>\r\n      </td>\r\n      <td class=\"form_text_3\">性質: </td>\r\n      <td class=\"form_text_4\" > \r\n        <select size=\"1\" name=\"AttrID\" tabindex=\"8\" class=\"select\">\r\n");

            // end
            // begin [file="/DMS/document/OutgoDoc.jsp";from=(347,2);to=(355,18)]
                
                                    DocAttributeDAO[] docAttribute = (DocAttributeDAO[])request.getAttribute("AttributeDAO");
                                    if(docAttribute!=null)
                                    for(int i=0; i<docAttribute.length; i++){
                                        int id = docAttribute[i].getAttributeID();
                                        String name = docAttribute[i].getAttributeName();
                                        out.print("<option value="+id+">"+name+"</option>");
                                     }   
                                  
            // end
            // HTML // begin [file="/DMS/document/OutgoDoc.jsp";from=(355,20);to=(363,8)]
                out.write("\r\n        </select>\r\n      </td>\r\n    </tr>\r\n    <tr> \r\n      <td class=\"form_text_3\">密等: </td>\r\n      <td class=\"form_text_4\" > \r\n        <select size=\"1\" name=\"SecretID\" tabindex=\"9\" class=\"select\">\r\n\t       ");

            // end
            // begin [file="/DMS/document/OutgoDoc.jsp";from=(363,10);to=(371,18)]
                
                                    DocSecretDAO[] docSecret = (DocSecretDAO[])request.getAttribute("SecretDAO");
                                    if(docSecret!=null)
                                    for(int i=0; i<docSecret.length; i++){
                                        int id = docSecret[i].getSecretID();
                                        String name = docSecret[i].getSecretName();
                                        out.print("<option value="+id+">"+name+"</option>");
                                       } 
                                  
            // end
            // HTML // begin [file="/DMS/document/OutgoDoc.jsp";from=(371,20);to=(377,0)]
                out.write("\r\n        </select>\r\n      </td>\r\n      <td class=\"form_text_3\">速別: </td>\r\n      <td class=\"form_text_4\" > \r\n        <select size=\"1\" name=\"SpeedID\" tabindex=\"10\" class=\"select\">\r\n");

            // end
            // begin [file="/DMS/document/OutgoDoc.jsp";from=(377,2);to=(385,18)]
                
                                    DocSpeedDAO[] docSpeed = (DocSpeedDAO[])request.getAttribute("SpeedDAO");
                                    if(docSpeed!=null)
                                    for(int i=0; i<docSpeed.length; i++){
                                        int id = docSpeed[i].getSpeedID();
                                        String name = docSpeed[i].getSpeedName();
                                        out.print("<option value="+id+">"+name+"</option>");
                                       } 
                                  
            // end
            // HTML // begin [file="/DMS/document/OutgoDoc.jsp";from=(385,20);to=(394,8)]
                out.write("\r\n\r\n        </select>\r\n      </td>\r\n    </tr>\r\n    <tr> \r\n      <td class=\"form_text_3\">文別:</td>\r\n      <td class=\"form_text_4\" > \r\n        <select size=\"1\" name=\"TypeID\" tabindex=\"11\" class=\"select\">\r\n        ");

            // end
            // begin [file="/DMS/document/OutgoDoc.jsp";from=(394,10);to=(402,9)]
                
                          DocTypeDAO[] docType = (DocTypeDAO[])request.getAttribute("TypeDAO");
                                    if(docType!=null)
                                    for(int i=0; i<docType.length; i++){
                                        int id = docType[i].getTypeID();
                                        String name = docType[i].getTypeName();
                                        out.print("<option value="+id+">"+name+"</option>");
                                       } 
                         
            // end
            // HTML // begin [file="/DMS/document/OutgoDoc.jsp";from=(402,11);to=(408,8)]
                out.write("\r\n        </select>\r\n      </td>\r\n      <td class=\"form_text_3\">本別: </td>\r\n      <td class=\"form_text_4\" > \r\n        <select size=\"1\" name=\"CopyID\" tabindex=\"12\" class=\"select\">\r\n        ");

            // end
            // begin [file="/DMS/document/OutgoDoc.jsp";from=(408,10);to=(416,9)]
                
                          DocCopyDAO[] docCopy = (DocCopyDAO[])request.getAttribute("CopyDAO");
                                    if(docCopy!=null)
                                    for(int i=0; i<docCopy.length; i++){
                                        int id = docCopy[i].getCopyID();
                                        String name = docCopy[i].getCopyName();
                                        out.print("<option value="+id+">"+name+"</option>");
                                       } 
                         
            // end
            // HTML // begin [file="/DMS/document/OutgoDoc.jsp";from=(416,11);to=(445,41)]
                out.write("\r\n\r\n\r\n        </select>\r\n      </td>\r\n    </tr>\r\n      <tr>\r\n    <td class=\"form_text_3\">主旨#:</td>\r\n    <td class=\"form_text_4\" >\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    <td class=\"form_text_3\">主檔:</td>\r\n    <td class=\"form_text_4\" 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\" readonly>\r\n    </td>\r\n  </tr>\r\n  <tr>\r\n    <td class=\"form_text_3\">附件說明#:&nbsp;</td>\r\n    <td class=\"form_text_4\" >\r\n\t\t<input name=\"AttachDescPhrase\" value=\"\" onKeyDown=\"OnAttachDescKeyDown()\">\r\n        <input name=\"AttachDesc\">\r\n\t </td>\r\n    <td class=\"form_text_3\">附件質料:</td>\r\n\t\t<td class=\"form_text_4\" align=\"left\" width=\"25%\" > <div align=\"left\"> <a style=\"CURSOR: hand \"> \r\n        <img src=\"/WebAgenda/images/icon/");

            // end
            // begin [file="/DMS/document/OutgoDoc.jsp";from=(445,44);to=(445,60)]
                out.print( strAttachImage );
            // end
            // HTML // begin [file="/DMS/document/OutgoDoc.jsp";from=(445,62);to=(446,70)]
                out.write("\" onclick=\"attach()\" ></a>\r\n        <input name=\"AttachCount\" type=\"text\" id=\"AttachCount\" value=\"");

            // end
            // begin [file="/DMS/document/OutgoDoc.jsp";from=(446,73);to=(446,91)]
                out.print( iAttachmentCount );
            // end
            // HTML // begin [file="/DMS/document/OutgoDoc.jsp";from=(446,93);to=(492,40)]
                out.write("\">\r\n      </div>\r\n\t  </td>\r\n  </tr>\r\n  <tr style=\"display:none\" >\r\n    <td colspan=\"4\">&nbsp;&nbsp;&nbsp;&nbsp; 檔名1:\r\n\t\t<input type=\"file\" name=\"AttachFileName1\" readonly>\r\n    </td>\r\n  </tr>\r\n\r\n\r\n\t    <tr> \r\n      <td colspan=\"3\" class=\"tr_bg1\" > \r\n        <div id=file style=\"height: 21\">\r\n        </div>\r\n      </td>\r\n      <td class=\"tr_bg1\" width=\"35%\" > \r\n        \r\n        \t<select name=\"selDelAttach\" size=\"1\" style=\"display:none\" class=\"select\">\r\n        \t</select>\r\n        \t\r\n      </td>\r\n    </tr>\r\n    </tbody> \r\n  </table>\r\n<br>\r\n  <INPUT name=btnSure tabIndex=22 type=button value=確定 style=\"height: 23; width: 45\" LANGUAGE=javascript onclick=\"return btnSure_onclick()\" class=\"button\">&nbsp;\r\n  <INPUT name=btnReset tabIndex=23 type=reset value=重寫 style=\"HEIGHT: 22px; WIDTH: 45px\" class=\"button\">&nbsp;\r\n  <INPUT name=btnReturn tabIndex=23 type=button value=返回 style=\"HEIGHT: 22px; WIDTH: 45px\"  onclick=\"window.close();return true;\" class=\"button\">\r\n  <input name=\"AttachNum\" type=hidden value=\"0\">\r\n  <input name=\"hiDelID\" type=hidden>\r\n  <!--正副機關-->\r\n  <input name=\"SendOrgID1\" ID=\"SendOrgID1\" type=hidden value=\"\">\r\n  <input name=\"SendOrgID2\" ID=\"SendOrgID2\" type=hidden value=\"\">\r\n  <input type=hidden name=\"SendFlag\" value=\"3\">\r\n  <input type=hidden name=temp value=\"\">\r\n  <input type=\"hidden\" name=\"AttachInfo\" value=\"\">\r\n  \r\n  <input type=\"hidden\" name=\"RecordCount\" value=\"1\">\r\n  <input type=\"hidden\" name=\"TargetFrame\" value=\"HideFrame\">\r\n  <input type=\"hidden\" name=\"KindName\" value=\"\">\r\n  <input type=\"hidden\" name=\"CopyName\" value=\"\">\r\n  <input type=\"hidden\" name=\"SpeedName\" value=\"\">\r\n  <input type=\"hidden\" name=\"TypeName\" value=\"\">\r\n  <input type=\"hidden\" name=\"AttributeName\" value=\"\">\r\n  <input type=\"hidden\" name=\"SecretName\" value=\"\">\r\n  <input name=PathID type=hidden value=\"");

            // end
            // begin [file="/DMS/document/OutgoDoc.jsp";from=(492,43);to=(492,81)]
                out.print((String)request.getAttribute("PathID"));
            // end
            // HTML // begin [file="/DMS/document/OutgoDoc.jsp";from=(492,83);to=(493,40)]
                out.write("\">\r\n  <input name=TaskID type=hidden value=\"");

            // end
            // begin [file="/DMS/document/OutgoDoc.jsp";from=(493,43);to=(493,81)]
                out.print((String)request.getAttribute("TaskID"));
            // end
            // HTML // begin [file="/DMS/document/OutgoDoc.jsp";from=(493,83);to=(503,0)]
                out.write("\">\r\n</form>\r\n\r\n\r\n<span id=spINI style=\"display:none\">\r\n</span>\r\n\r\n</body>\r\n\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 + -