📄 dms_0002freport_0002freportclient035_0002ejsp_jsp.java
字号:
package DMS.report;
import com.jasson.integration.agentflow.*;
import java.util.*;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import org.apache.jasper.runtime.*;
public class DMS_0002freport_0002fReportClient035_0002ejsp_jsp extends HttpJspBase {
// begin [file="/DMS/report/ReportClient035.jsp";from=(4,0);to=(4,79)]
// end
static {
}
public DMS_0002freport_0002fReportClient035_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/report/ReportClient035.jsp";from=(0,48);to=(1,0)]
out.write("\r\n");
// end
// HTML // begin [file="/DMS/report/ReportClient035.jsp";from=(1,54);to=(2,0)]
out.write("\r\n");
// end
// HTML // begin [file="/DMS/report/ReportClient035.jsp";from=(2,25);to=(3,0)]
out.write("\r\n");
// end
// HTML // begin [file="/DMS/report/ReportClient035.jsp";from=(3,31);to=(4,0)]
out.write("\r\n");
// end
// begin [file="/DMS/report/ReportClient035.jsp";from=(4,0);to=(4,79)]
com.jasson.common.ExtendCalendar ExCal = null;
boolean _jspx_specialExCal = false;
synchronized (pageContext) {
ExCal= (com.jasson.common.ExtendCalendar)
pageContext.getAttribute("ExCal",PageContext.PAGE_SCOPE);
if ( ExCal == null ) {
_jspx_specialExCal = true;
try {
ExCal = (com.jasson.common.ExtendCalendar) java.beans.Beans.instantiate(this.getClass().getClassLoader(), "com.jasson.common.ExtendCalendar");
} catch (ClassNotFoundException exc) {
throw new InstantiationException(exc.getMessage());
} catch (Exception exc) {
throw new ServletException (" Cannot create bean of class "+"com.jasson.common.ExtendCalendar", exc);
}
pageContext.setAttribute("ExCal", ExCal, PageContext.PAGE_SCOPE);
}
}
if(_jspx_specialExCal == true) {
// end
// begin [file="/DMS/report/ReportClient035.jsp";from=(4,0);to=(4,79)]
}
// end
// HTML // begin [file="/DMS/report/ReportClient035.jsp";from=(4,79);to=(5,0)]
out.write("\r\n");
// end
// begin [file="/DMS/report/ReportClient035.jsp";from=(5,2);to=(9,0)]
response.setHeader("Cache-Control","no-store");
response.setHeader("Pragma","no-cache");
response.setDateHeader("Expires",0);
// end
// HTML // begin [file="/DMS/report/ReportClient035.jsp";from=(9,2);to=(10,0)]
out.write("\r\n");
// end
// begin [file="/DMS/report/ReportClient035.jsp";from=(10,2);to=(23,0)]
int YearNO=ExCal.getYear(ExCal.getDate())-1911;
int Month=ExCal.getMonth(ExCal.getDate())-2;
if(Month==0)
{
Month=12;
YearNO--;
}
if(Month==-1)
{
Month=11;
YearNO--;
}
// end
// HTML // begin [file="/DMS/report/ReportClient035.jsp";from=(23,2);to=(69,20)]
out.write("\r\n<html>\r\n<head>\r\n<meta http-equiv=\"Content-Language\" content=\"zh-tw\">\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=big5\">\r\n<meta name=\"GENERATOR\" content=\"Microsoft FrontPage 4.0\">\r\n<meta name=\"ProgId\" content=\"FrontPage.Editor.Document\">\r\n<script src=\"../inc/toUpper.js\" content=\"text/javascript\"></script>\r\n<link rel=\"stylesheet\" href=\"../inc/cn.css\" type=\"text/css\">\r\n<LINK href=\"../inc/DatePicker.css\" rel=stylesheet type=text/css>\r\n<SCRIPT src=\"../inc/DateObject.js\"></SCRIPT>\r\n<SCRIPT src=\"../inc/DatePicker.js\"></SCRIPT>\r\n<SCRIPT src=\"../inc/editlib.js\"></SCRIPT>\r\n<SCRIPT src=\"../inc/OnloadEvent.js\"></SCRIPT>\r\n<title>公文稽催數量統計表</title>\r\n</head>\r\n<script>\r\nfunction btnOK_onclick(PrintTag)\r\n{\r\n\tif(form1.YearNO.value==\"\")\r\n\t{\r\n\t alert(\"請輸入年度號!\")\r\n\t\treturn\r\n\t}\r\n form1.submit();\r\n return false;\r\n}\r\n\r\nfunction setSelect()\r\n{\r\n\tif(form1.chkBeginDate.checked==false)\r\n\t{\r\n\t BeginDate.setEnabled(false)\r\n\t}\r\n\tif(form1.chkEndDate.checked==false)\r\n\t{\r\n\t EndDate.setEnabled(false)\r\n\t}\r\n}\r\nfunction setEnableDate(chked,checkboxObj)\r\n{\r\n\tvar obj=eval(checkboxObj)\r\n\tobj.setEnabled(chked)\r\n}\r\nfunction setMonth()\r\n{\r\n\tform1.Month.value=\"");
// end
// begin [file="/DMS/report/ReportClient035.jsp";from=(69,23);to=(69,28)]
out.print(Month);
// end
// HTML // begin [file="/DMS/report/ReportClient035.jsp";from=(69,30);to=(81,57)]
out.write("\"\r\n}\r\n</script>\r\n<body onload=setMonth()>\r\n<form name=\"form1\" method=\"post\" action=\"ReportAct035.jsp\">\r\n<table border=1 width=\"100%\">\r\n <tr>\r\n <td colspan=\"2\">公文稽催數量統計表</td>\r\n </tr>\r\n <tr>\r\n\t<th>年度</th>\r\n\t<td>\r\n\t\t<input type=text name=YearNO size=4 maxlength=4 value=\"");
// end
// begin [file="/DMS/report/ReportClient035.jsp";from=(81,60);to=(81,66)]
out.print(YearNO);
// end
// HTML // begin [file="/DMS/report/ReportClient035.jsp";from=(81,68);to=(109,0)]
out.write("\" style=\"dType:1\">\r\n\t\t<select name=Month size=1>\r\n\t\t <option value=\"1\">一月份</option>\r\n\t\t <option value=\"2\">二月份</option>\r\n\t\t <option value=\"3\">三月份</option>\r\n\t\t <option value=\"4\">四月份</option>\r\n\t\t <option value=\"5\">五月份</option>\r\n\t\t <option value=\"6\">六月份</option>\r\n\t\t <option value=\"7\">七月份</option>\r\n\t\t <option value=\"8\">八月份</option>\r\n\t\t <option value=\"9\">九月份</option>\r\n\t\t <option value=\"10\">十月份</option>\r\n\t\t <option value=\"11\">十一月份</option>\r\n\t\t <option value=\"12\">十二月份</option>\r\n\t\t</select>\r\n\t</td>\r\n </tr>\r\n <tr>\r\n <td colspan=\"2\" align=center>\r\n\t <input type=button value=\"列印\" onclick=\"return btnOK_onclick(1)\" class=\"button\">\r\n\t <input type=button value=\"預覽\" onclick=\"return btnOK_onclick(2)\" class=\"button\">\r\n\t <input type=button value=\"返回\" onclick=\"window.history.back()\" class=\"button\">\r\n\t</td>\r\n </tr>\r\n</table>\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 + -