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

📄 dms_0002fsystem_0002forgdoclist_0002ejsp_jsp.java

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

import com.jasson.business.document.RecipientDAO;
import com.jasson.common.*;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import org.apache.jasper.runtime.*;


public class DMS_0002fsystem_0002fOrgDocList_0002ejsp_jsp extends HttpJspBase {


    static {
    }
    public DMS_0002fsystem_0002fOrgDocList_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/system/OrgDocList.jsp";from=(0,64);to=(1,0)]
                out.write("\r\n");

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

            // end
            // HTML // begin [file="/DMS/system/OrgDocList.jsp";from=(2,39);to=(36,8)]
                out.write("\r\n<HTML>\r\n<HEAD>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=big5\">\r\n<META NAME=\"GENERATOR\" Content=\"Microsoft Visual Studio 6.0\">\r\n<link rel=\"stylesheet\" href=\"/WebAgenda/workflow/css/co-css.css\" type=\"text/css\">\r\n<TITLE></TITLE>\r\n</HEAD>\r\n<script>\r\nfunction Edit_onclick(file)\r\n{\r\n  \tstrFeatures = \"dialogWidth=450px;dialogHeight=250px;center=yes;help=no;status=no\";\r\n\tshowModalDialog(file,form1.pageSel.value,strFeatures);\r\n\t//open(file,form1.pageSel.value,strFeatures);\r\n}\r\nfunction Del()\r\n{\r\n return confirm(\"真的要刪除嗎\");\r\n}\r\n</script>\r\n<body >\r\n\r\n<form method=\"get\" name=\"form1\" action=\"/WebAgenda/servlet/OrgDocServlet\" >\r\n<!-- 程式開始 -->\r\n\r\n\t<table width=\"100%\" border=\"0\" cellspacing=\"4\" cellpadding=\"2\"  valign=\"top\">\r\n\t  <tr>\r\n\t\t<td class=\"bgcoblue\">\r\n\t\t</td>\r\n\t  </tr>\r\n\t</table>\r\n<table width=\"100%\" border=\"0\" cellspacing=\"4\" cellpadding=\"2\" >\r\n    <tr>\r\n      <td  align=\"center\" class=\"bgcoblue4\">\r\n        ");

            // end
            // begin [file="/DMS/system/OrgDocList.jsp";from=(36,10);to=(38,0)]
                
                  RecipientDAO[] recipientDAO=(RecipientDAO[])request.getAttribute("RecipientDAO");
            // end
            // HTML // begin [file="/DMS/system/OrgDocList.jsp";from=(38,2);to=(40,0)]
                out.write("\r\n第<select name=pageSel onChange='form1.submit()'>\r\n");

            // end
            // begin [file="/DMS/system/OrgDocList.jsp";from=(40,2);to=(53,0)]
                
                  if(recipientDAO!=null)
                  {
                        int PageCount=recipientDAO[0].getPageCount();
                        int NumOfCount=Integer.parseInt((String)request.getAttribute("pageSel"));
                  	for(int j=1;j<=PageCount;j++)
                        {
                          if(NumOfCount==j)
                            out.print("<OPTION selected value="+j+">"+j+"</OPTION>");
                          else
                            out.print("<OPTION value="+j+">"+j+"</OPTION>");
                        }
                  }
            // end
            // HTML // begin [file="/DMS/system/OrgDocList.jsp";from=(53,2);to=(76,2)]
                out.write("\r\n</select>頁\r\n      </td>\r\n      <td class=\"bgcoblue4\">\r\n      查詢條件:<input name=Condition size=20><input type=\"submit\" name=\"button2\" value=\"查詢\">\r\n      <input type=\"button\" name=\"button2\" value=\"新增\" onClick=\"return Edit_onclick('/WebAgenda/DMS/system/OrgAddEdit.jsp?Flag=Add');\" class=\"button\">\r\n        <input type=\"submit\" name=\"button2\" value=\"刪除\" onClick=\"return Del();\" class=\"button\">\r\n      </td>\r\n      <td class=\"bgcoblue4\">\r\n\r\n\t</td>\r\n  </tr>\r\n</table>\r\n\r\n<table width=\"100%\" border=\"0\" cellspacing=\"4\" cellpadding=\"2\">\r\n  <tr   class=\"item_col_1\">\r\n        <TD class=\"bgcoblue1\">選擇</td>\r\n\t<td class=\"bgcoblue1\">機關名稱</td>\r\n\t<td class=\"bgcoblue1\">地址</td>\r\n\t<td class=\"bgcoblue1\">郵件編號</td>\r\n\t<td class=\"bgcoblue1\">機關代碼</td>\r\n\t<td class=\"bgcoblue1\">是否電子傳送</td>\r\n  </tr>\r\n  ");

            // end
            // begin [file="/DMS/system/OrgDocList.jsp";from=(76,4);to=(81,2)]
                
                  
                    if (recipientDAO!=null)
                    for(int i=0; i<recipientDAO.length;i++)
                    {
                  
            // end
            // HTML // begin [file="/DMS/system/OrgDocList.jsp";from=(81,4);to=(83,70)]
                out.write("\r\n  <tr   class=\"item_col_1\">\r\n        <td class=\"bgcogray1\"><input type=\"checkBox\" name=\"Sel\" value=");

            // end
            // begin [file="/DMS/system/OrgDocList.jsp";from=(83,73);to=(83,105)]
                out.print(recipientDAO[i].getRecipientID());
            // end
            // HTML // begin [file="/DMS/system/OrgDocList.jsp";from=(83,107);to=(84,119)]
                out.write("></td>\r\n\t<td class=\"bgcogray1\"><a href=# onclick=\"return Edit_onclick('/WebAgenda/DMS/system/OrgList.jsp?Flag=Read&RecipientID=");

            // end
            // begin [file="/DMS/system/OrgDocList.jsp";from=(84,122);to=(84,154)]
                out.print(recipientDAO[i].getRecipientID());
            // end
            // HTML // begin [file="/DMS/system/OrgDocList.jsp";from=(84,156);to=(84,160)]
                out.write("')\">");

            // end
            // begin [file="/DMS/system/OrgDocList.jsp";from=(84,163);to=(84,197)]
                out.print(recipientDAO[i].getRecipientName());
            // end
            // HTML // begin [file="/DMS/system/OrgDocList.jsp";from=(84,199);to=(85,23)]
                out.write("</a></td>\r\n\t<td class=\"bgcogray1\">");

            // end
            // begin [file="/DMS/system/OrgDocList.jsp";from=(85,26);to=(85,63)]
                out.print(recipientDAO[i].getRecipientAddress());
            // end
            // HTML // begin [file="/DMS/system/OrgDocList.jsp";from=(85,65);to=(86,23)]
                out.write("</td>\r\n\t<td class=\"bgcogray1\">");

            // end
            // begin [file="/DMS/system/OrgDocList.jsp";from=(86,26);to=(86,54)]
                out.print(recipientDAO[i].getZipCode());
            // end
            // HTML // begin [file="/DMS/system/OrgDocList.jsp";from=(86,56);to=(87,23)]
                out.write("</td>\r\n\t<td class=\"bgcogray1\">");

            // end
            // begin [file="/DMS/system/OrgDocList.jsp";from=(87,26);to=(87,52)]
                out.print(recipientDAO[i].getOrgID());
            // end
            // HTML // begin [file="/DMS/system/OrgDocList.jsp";from=(87,54);to=(88,23)]
                out.write("</td>\r\n\t<td class=\"bgcogray1\">");

            // end
            // begin [file="/DMS/system/OrgDocList.jsp";from=(88,25);to=(88,108)]
                if(recipientDAO[i].geteTransfer().equals("1")) out.print("是"); else out.print("否");
            // end
            // HTML // begin [file="/DMS/system/OrgDocList.jsp";from=(88,110);to=(90,2)]
                out.write("</td>\r\n  </tr>\r\n  ");

            // end
            // begin [file="/DMS/system/OrgDocList.jsp";from=(90,4);to=(92,2)]
                
                   }//for
                  
            // end
            // HTML // begin [file="/DMS/system/OrgDocList.jsp";from=(92,4);to=(96,7)]
                out.write("\r\n</table>\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 + -