📄 traffichotspotquery_jsp.java
字号:
package org.apache.jsp.jsp;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
public final class TrafficHotspotQuery_jsp extends org.apache.jasper.runtime.HttpJspBase
implements org.apache.jasper.runtime.JspSourceDependent {
private static java.util.Vector _jspx_dependants;
static {
_jspx_dependants = new java.util.Vector(1);
_jspx_dependants.add("/WEB-INF/lib/c-rt.tld");
}
private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_c_if_test;
private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_c_forEach_var_items;
public java.util.List getDependants() {
return _jspx_dependants;
}
public void _jspInit() {
_jspx_tagPool_c_if_test = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
_jspx_tagPool_c_forEach_var_items = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
}
public void _jspDestroy() {
_jspx_tagPool_c_if_test.release();
_jspx_tagPool_c_forEach_var_items.release();
}
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;
JspWriter _jspx_out = null;
PageContext _jspx_page_context = null;
try {
_jspxFactory = JspFactory.getDefaultFactory();
response.setContentType("text/html; charset=GBK");
pageContext = _jspxFactory.getPageContext(this, request, response,
"", true, 8192, true);
_jspx_page_context = pageContext;
application = pageContext.getServletContext();
config = pageContext.getServletConfig();
session = pageContext.getSession();
out = pageContext.getOut();
_jspx_out = out;
out.write("\r\n");
out.write("\r\n");
out.write("<html>\r\n");
out.write(" \r\n");
out.write("<head>\r\n");
out.write("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=GBK\" />\r\n");
out.write("<script language=\"javascript\" src=\"");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${pageContext.request.contextPath}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("/js/calendar.js\"></script>\r\n");
out.write("<title>交通热点地区查询</title>\r\n");
out.write("\r\n");
out.write("<script>\r\n");
out.write("function checkForm(){\r\n");
out.write("\tif(document.all.startLimit.value ==\"\"){\r\n");
out.write("\t\talert(\"请选择开始时间!\");\r\n");
out.write("\t\treturn false;\r\n");
out.write("\t}\r\n");
out.write("\tif(document.all.endLimit.value ==\"\"){\r\n");
out.write("\t\talert(\"请选择结束时间!\");\r\n");
out.write("\t\treturn false;\r\n");
out.write("\t}\r\n");
out.write("\t\r\n");
out.write("\tif(document.all.startLimit.value > document.all.endLimit.value){\r\n");
out.write("\t\talert(\"非法的开始结束时间\");\r\n");
out.write("\t\treturn false;\r\n");
out.write("\t}\r\n");
out.write("\t\r\n");
out.write("\treturn true;\r\n");
out.write("}\r\n");
out.write("function resetTime(){\r\n");
out.write("\tdocument.all.startLimit.value='';\r\n");
out.write("\tdocument.all.endLimit.value='';\r\n");
out.write("}\r\n");
out.write("</script>\r\n");
out.write("</head>\r\n");
out.write("\r\n");
out.write("<body bgcolor=\"#C0C0C0\">\r\n");
out.write("<h1><u>交通热点地区查询</u></h1>\r\n");
out.write("<form action=\"");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${pageContext.request.contextPath}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("/DispatchManager\" onSubmit=\"return checkForm()\">\r\n");
out.write("<input type=\"hidden\" name=\"initPage\" value=\"0\" />\r\n");
out.write("<input type=\"hidden\" name=\"operateType\" value=\"1\"/>\r\n");
out.write("<table width=\"100%\" border=\"0\">\r\n");
out.write("\t<tr>\r\n");
out.write("\t\t<td nowrap=\"nowrap\" width=\"10%\">查询类型:</td>\r\n");
out.write("\t\t<td nowrap=\"nowrap\">\r\n");
out.write("\t\t<select name=\"queryType\" onChange=\"resetTime();\">\r\n");
out.write("\t\t\t<option value=\"1\">按年查询</option>\r\n");
out.write("\t\t\t<option value=\"2\">按月查询</option>\r\n");
out.write("\t\t\t<option value=\"3\">按日查询</option>\t\t\t\r\n");
out.write("\t\t</select>\r\n");
out.write("\t\t<script>\r\n");
out.write("\t\t\tif('");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${param.queryType}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("'!='')\r\n");
out.write("\t\t\t\tdocument.all.queryType.value ='");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${param.queryType}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("';\r\n");
out.write("\t\t</script>\r\n");
out.write("\t\t</td>\r\n");
out.write("\t</tr>\r\n");
out.write("</table>\r\n");
out.write("<table width=\"100%\" border=\"1\" >\r\n");
out.write("\t<tr>\r\n");
out.write("\t\t<td nowrap=\"nowrap\">开始时间:</td>\r\n");
out.write("\t\t<td nowrap=\"nowrap\"><input type=\"text\" name=\"startLimit\" onFocus=\"javascript:calendar();\" value=\"");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${param.startLimit}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("\"/></td>\r\n");
out.write("\t\t<td nowrap=\"nowrap\">结束时间:</td>\r\n");
out.write("\t\t<td nowrap=\"nowrap\"><input type=\"text\" name=\"endLimit\" onFocus=\"javascript:calendar();\" value=\"");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${param.endLimit}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("\"/></td>\r\n");
out.write("\t</tr>\r\n");
out.write("\t\r\n");
out.write("\t<tr>\r\n");
out.write("\t\t<td nowrap=\"nowrap\">热点地区:</td>\r\n");
out.write("\t\t<td nowrap=\"nowrap\" colspan=\"3\"><input type=\"text\" name=\"hotspotArea\" size=\"80\" value=\"");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${param.hotspotArea}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("\"/></td>\r\n");
out.write("\t</tr>\r\n");
out.write("</table>\r\n");
out.write("<table width=\"100%\" border=\"0\">\r\n");
out.write("\t<tr>\r\n");
out.write("\t\t<td align=\"center\"><input type=\"submit\" value=\"查询\" /></td>\t\t\r\n");
out.write("\t</tr>\r\n");
out.write("</table>\r\n");
out.write("</form>\r\n");
out.write("\r\n");
if (_jspx_meth_c_if_0(_jspx_page_context))
return;
out.write('\r');
out.write('\n');
System.out.println("start here");
out.write("\r\n");
out.write("</body>\r\n");
out.write("</html>\r\n");
} catch (Throwable t) {
if (!(t instanceof SkipPageException)){
out = _jspx_out;
if (out != null && out.getBufferSize() != 0)
out.clearBuffer();
if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -