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

📄 dms_0002fdocument_0002fsubmitdoc_0002ejsp_jsp.java

📁 dgbas公文管理核心java源码
💻 JAVA
字号:
package DMS.document;

import java.util.*;
import com.jasson.business.document.DocPhraseInfo;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import org.apache.jasper.runtime.*;


public class DMS_0002fdocument_0002fSubmitDoc_0002ejsp_jsp extends HttpJspBase {


    static {
    }
    public DMS_0002fdocument_0002fSubmitDoc_0002ejsp_jsp( ) {
    }

    private static boolean _jspx_inited = false;

    public final void _jspx_init() throws org.apache.jasper.runtime.JspException {
    }

    public void _jspService(HttpServletRequest request, HttpServletResponse  response)
        throws java.io.IOException, ServletException {

        JspFactory _jspxFactory = null;
        PageContext pageContext = null;
        HttpSession session = null;
        ServletContext application = null;
        ServletConfig config = null;
        JspWriter out = null;
        Object page = this;
        String  _value = null;
        try {

            if (_jspx_inited == false) {
                synchronized (this) {
                    if (_jspx_inited == false) {
                        _jspx_init();
                        _jspx_inited = true;
                    }
                }
            }
            _jspxFactory = JspFactory.getDefaultFactory();
            response.setContentType("text/html;charset=big5");
            pageContext = _jspxFactory.getPageContext(this, request, response,
            			"", true, 8192, true);

            application = pageContext.getServletContext();
            config = pageContext.getServletConfig();
            session = pageContext.getSession();
            out = pageContext.getOut();

            // HTML // begin [file="/DMS/document/SubmitDoc.jsp";from=(0,48);to=(1,0)]
                out.write("\r\n");

            // end
            // HTML // begin [file="/DMS/document/SubmitDoc.jsp";from=(1,34);to=(2,0)]
                out.write("\r\n");

            // end
            // HTML // begin [file="/DMS/document/SubmitDoc.jsp";from=(2,65);to=(22,0)]
                out.write("\r\n<html>\r\n<head>\r\n<title>\r\n   陳核作業\r\n</title>\r\n<script language = \"javascript\">\r\n\r\nfunction on_Submit()\r\n{\r\n    window.returnValue=\"/WebAgenda/servlet/SubmitDocServlet?targetDept=\"+SubmitDocForm.targetDept.value+\"&content=\"+SubmitDocForm.content.value;\r\n    window.close();\r\n}\r\n\r\n\r\n</script>\r\n</head>\r\n<body>\r\n<center>\r\n<form name=\"SubmitDocForm\" >\r\n");

            // end
            // begin [file="/DMS/document/SubmitDoc.jsp";from=(22,2);to=(31,0)]
                
                
                    String[] strArrParentDeptIDs = (String[])request.getAttribute("strArrParentDeptIDs");
                    String[] strArrParentDeptNames = (String[])request.getAttribute("strArrParentDeptNames");
                    Object[] docPhraseInfo = (Object[])request.getAttribute("docPhraseInfo");
                    if(docPhraseInfo != null)
                    {
                        docPhraseInfo = (DocPhraseInfo[])docPhraseInfo;
                    }
            // end
            // HTML // begin [file="/DMS/document/SubmitDoc.jsp";from=(31,2);to=(37,11)]
                out.write("\r\n<table border =1 width=\"334\" height=\"175\">\r\n   <tr>\r\n      <td width=\"324\" height=\"23\">選擇的上級部門\r\n\r\n           <select name = \"targetDept\" >\r\n           ");

            // end
            // begin [file="/DMS/document/SubmitDoc.jsp";from=(37,13);to=(42,11)]
                
                               for (int i = 0; i < strArrParentDeptIDs.length; i++)
                               {
                                   out.println("<option  value = "+strArrParentDeptIDs[i]+">"+strArrParentDeptIDs[i]+"--"+strArrParentDeptNames[i]+"</option>");
                               }
                           
            // end
            // HTML // begin [file="/DMS/document/SubmitDoc.jsp";from=(42,13);to=(52,4)]
                out.write("\r\n           </select>\r\n      </td>\r\n  </tr>\r\n\r\n   <tr>\r\n    <td width=\"324\" height=\"25\">我的意見:\r\n    <input type=\"text\" name=\"code\" value=\"請輸入代碼\">\r\n\r\n          <select name=\"t2\">\r\n    ");

            // end
            // begin [file="/DMS/document/SubmitDoc.jsp";from=(52,6);to=(60,4)]
                
                        if(docPhraseInfo !=null)
                        {
                               for (int i = 0; i < docPhraseInfo.length; i++)
                               {
                                   out.println("<option  value = "+docPhraseInfo[i]+">"+docPhraseInfo+"</option>");
                               }
                           }
                    
            // end
            // HTML // begin [file="/DMS/document/SubmitDoc.jsp";from=(60,6);to=(82,0)]
                out.write("\r\n           </select>\r\n\r\n    <input type= \"button\" name =\"submit\" value=\"確定\"  >\r\n    </td>\r\n    </tr>\r\n    <tr>\r\n    <td width=\"324\" height=\"109\">\r\n\r\n     <textarea   name=\"content\" value=\"waei\" rows=\"3\" cols=\"41\" >contents </textarea>\r\n    </td>\r\n    </tr>\r\n\r\n</table>\r\n<br>\r\n<input type= \"button\" name =\"submit\" value=\"確定\"  onClick =\"on_Submit()\">\r\n<input type =\"button\" name =\"cancel\" value =\"取消\"  onClick =\"javaScript:window.close();\">\r\n\r\n</form>\r\n</center>\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 + -