📄 area_cx.jsp
字号:
<%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*,imis_hous.com.impl.*,java.util.*" errorPage="" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title></title>
<script language="JavaScript" src="/Imis/imis_hous/jf/checkdata.js">
</script>
<link href="/Imis/imis_hous/css/style.css" rel="stylesheet" type="text/css">
</head>
<body background="/Imis/imis_hous/css/images/bg_main.png">
<table align="center" width="100%" border="0" class="ziti">
<tr>
<td colspan="3" height="20" background="/Imis/imis_hous/css/images/bg_main2.png"><font color="#000000">地块信息查询</font></td>
</tr>
</table>
<form name="form1" method="post" action="/Imis/servlet/areaInfoPage?currentPage=1" target="blank">
<table align="center" width="100%" border="0" class="ziti" background="/Imis/Imis_hous/css/images/bg_main.png">
<tr>
<td width="377"><div align="right">地块名称:</div></td>
<td width="394">
<select name="J_AreaName" class="text1">
<option selected value="-1">所有</option>
<%
HashMap hashDept = new GetBuildName().getDepartment("AreaNu","AreaName","area_info");
int length = hashDept.size();
String []deptName = new String[length];//部门数组
String []deptId= new String[length];//部门用房面积数组
Iterator itDeptId = hashDept.keySet().iterator();//键迭代
Iterator itDeptName = hashDept.values().iterator();//值迭代
int i=0;
while(itDeptId.hasNext()){
deptId[i] = itDeptId.next().toString();
i++;
}
i=0;
while(itDeptName.hasNext()){
deptName[i] = itDeptName.next().toString();
i++;
}
for(int j=0;j<length;j++ ){
%>
<option value = <%=deptId[j] %>><%=deptName[j] %></option>
<% }%>
</select>
</td>
</tr>
<tr>
<td><div align="right">地块状况: </div></td>
<td><select name="J_AreaStatus" class="text1">
<option selected value="0">所有</option>
<option value="1">已使用</option>
<option value="2">未使用</option>
</select></td>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
<tr>
<td colspan="2">
<div align="center">
<input type="submit" name="Submit" value="查 询" class="anniu">
</div></td>
</tr>
</table>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -