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

📄 traffichotspotforecast.jsp

📁 oa源码oa源码oa源码oa源码oa源码oa源码oa源码oa源码oa源码oa源码oa源码oa源码oa源码oa源码oa源码oa源码oa源码
💻 JSP
字号:
<%@ page contentType="text/html; charset=GBK" language="java"  errorPage="" %>
<%@ taglib uri="/tags/c-rt" prefix="c"%>
<html>
 
<head>
<meta http-equiv="Content-Type" content="text/html; charset=GBK" />
<script language="javascript" src="${pageContext.request.contextPath}/js/calendar.js"></script>
<title>交通热点地区预测</title>

<script>
function checkForm(){
	if(document.all.forecastDate.value ==""){
		alert("请选择预测时间!");
		return false;
	}
	
	return true;
}
</script>
</head>

<body bgcolor="#C0C0C0">
<h1><u>交通热点地区预测</u></h1>
<form action="${pageContext.request.contextPath}/DispatchManager" onSubmit="return checkForm()">
<input type="hidden" name="initPage" value="0" />
<input type="hidden" name="operateType" value="3"/>
<table width="100%" border="0">
	<tr>
		<td nowrap="nowrap" width="10%">查询类型:</td>
		<td nowrap="nowrap"><select name="queryType" onChange="document.all.forecastDate.value='';">
			<option value="1">按年查询</option>
			<option value="2">按月查询</option>
			<option value="3">按日查询</option>			
		</select>
		<script>
			if('${param.queryType}'!='')
				document.all.queryType.value ='${param.queryType}';
		</script>
		</td>
	</tr>
</table>
<table width="100%" border="1" >
	<tr>
		<td nowrap="nowrap">预测时间:</td>
		<td nowrap="nowrap"><input type="text" name="forecastDate"  onFocus="javascript:calendar();" value="${param.forecastDate}"/></td>
		
	</tr>
	
	<tr>
		<td nowrap="nowrap">热点地区:</td>
		<td nowrap="nowrap"><input type="text" name="hotspotArea" size="80" value="${param.hotspotArea}"/></td>
	</tr>
</table>
<table width="100%" border="0">
	<tr>
		<td align="center"><input type="submit" value="预测" /></td>		
	</tr>
</table>
</form>


${hintMsg}

<c:if test="${titleList != null}">
<table width="100%" border="1">
	
	<tr>
		<td>&nbsp;</td>
		<c:forEach var="title" items="${titleList}" >
		<td>${title}</td>
		</c:forEach>
	</tr>
	<c:forEach var="result" items="${resultMap}">
	<tr>
		<td>${result.key}</td>
		<c:forEach var="areaCount" items="${result.value}">
		<td>${areaCount}</td>
		</c:forEach>
	</tr>	
	</c:forEach>
</table>
</c:if>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -