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

📄 dms_0002farchive_0002ffindcase_0002ejsp_jsp.java

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

import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import org.apache.jasper.runtime.*;


public class DMS_0002farchive_0002fFindCase_0002ejsp_jsp extends HttpJspBase {


    static {
    }
    public DMS_0002farchive_0002fFindCase_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/archive/FindCase.jsp";from=(0,0);to=(1,0)]
                out.write("<!-- FindCase.jsp-->\r\n");

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

            // end
            // begin [file="/DMS/archive/FindCase.jsp";from=(2,2);to=(5,0)]
                
                	String[] categoryNOs = (String[])session.getAttribute("CategoryNOs");
                	String[] categoryNames =(String[])session.getAttribute("CategoryNames");
            // end
            // HTML // begin [file="/DMS/archive/FindCase.jsp";from=(5,2);to=(35,3)]
                out.write("\r\n<html>\r\n<head>\r\n<title>查詢</title>\r\n<script src=\"../inc/OnloadEvent.js\"></script>\r\n</head>\r\n<body>\r\n<script> \r\n\tfunction OkClick(){\t \r\n\t\twindow.returnValue = \"&CaseNO=\" + form1.CaseNO.value + \"&CaseName=\" + form1.CaseName.value\r\n\t\t\t\t+ \"&CategoryNO=\" + form1.CategoryNO.value + \"&KeepYear=\" + form1.KeepYear.value;\r\n\t\twindow.close();\r\n\t}\r\n</script>\r\n<form name=\"form1\">\r\n\t<fieldset style=\"padding: 5\">\r\n\t<legend>查詢</legend>\r\n\t<table border=\"1\" cellPadding=1 cellSpacing=1 width=\"75%\" align=center>\r\n\t\t<tr>\r\n\t\t\t<th nowrap>案代碼: </th>\r\n\t\t\t<td><input type=\"text\" name=\"CaseNO\"></td>\r\n\t\t</tr>\r\n\t\t<tr>\r\n\t\t\t<th nowrap>案名: </th>\r\n\t\t\t<td><input type=\"text\" name=\"CaseName\"></td>\r\n\t\t</tr>\r\n\t\t<tr>\r\n\t\t\t<th nowrap>所屬類名: </th>\r\n\t\t\t<td><select name=\"CategoryNO\" size=\"1\">\r\n\t\t\t<option value=\"\"></option>\r\n\t\t\t");

            // end
            // begin [file="/DMS/archive/FindCase.jsp";from=(35,5);to=(38,3)]
                
                				if(categoryNOs!=null)
                				for(int i=0; i<categoryNOs.length; i++){
                			
            // end
            // HTML // begin [file="/DMS/archive/FindCase.jsp";from=(38,5);to=(39,20)]
                out.write("\r\n\t\t\t\t\t<option value=\"");

            // end
            // begin [file="/DMS/archive/FindCase.jsp";from=(39,23);to=(39,38)]
                out.print( categoryNOs[i]);
            // end
            // HTML // begin [file="/DMS/archive/FindCase.jsp";from=(39,40);to=(39,42)]
                out.write("\">");

            // end
            // begin [file="/DMS/archive/FindCase.jsp";from=(39,45);to=(39,62)]
                out.print( categoryNames[i]);
            // end
            // HTML // begin [file="/DMS/archive/FindCase.jsp";from=(39,64);to=(40,3)]
                out.write("</option>\r\n\t\t\t");

            // end
            // begin [file="/DMS/archive/FindCase.jsp";from=(40,5);to=(41,3)]
                 }
                			
            // end
            // HTML // begin [file="/DMS/archive/FindCase.jsp";from=(41,5);to=(55,7)]
                out.write("\r\n\t\t\t</select>\r\n\t\t\t</td>\r\n\t\t</tr>\r\n\t\t<tr>\r\n\t\t\t<th nowrap>保存年限: </th>\r\n\t\t\t<td><input type=\"text\" name=\"KeepYear\" style=\"dType:1\"></td>\r\n\t\t</tr>\t\t\r\n\t</table>\r\n\t</fieldset>\r\n\t<p align=\"center\"><input type=\"button\" value=\"確定\" onclick=\"OkClick()\">\r\n\t\t<input type=\"button\" value=\"取消\" onclick=\"javascript:self.close()\"></p>\r\n</form>\r\n</body>\r\n</html>");

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