?? buildings_sc.jsp
字號:
<%@ page language="java" import="java.util.*,imis_hous.com.impl.*,imis_hous.com.bean.*" pageEncoding="GB2312"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>建筑物信息刪除</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<link href="/Imis/imis_hous/css/style.css" rel="stylesheet" type="text/css">
<script language="JavaScript" src="/Imis/imis_hous/jf/checkdata.js">
</script>
</head>
<body background="/Imis/imis_hous/css/images/bg_main.png">
<table align="center" width="100%" border="0" class="ziti">
<tr>
<td colspan="2" height="20" align="right" background="/Imis/imis_hous/css/images/bg_main2.png"><font color="#000000"><div align="left">建筑物信息刪除</div></font></td>
</tr>
</table>
<form method="post" action="/Imis/servlet/Building_sl?id=check_delete">
<table align="center" width="100%" border="0" class="ziti" background="/Imis/imis_hous/css/images/bg_main.png">
<tr>
<td width="42%" align="right">建筑物名稱:</td>
<td width="58%"><select name="J_BuildingNu" class="text1">
<%
HashMap hashDept = new GetBuildName().getDepartment("BuildingNu","BuildingName","Buildings_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>
<input type="submit" name="Submit2" value="查 詢" class="anniu"/></td>
</tr>
<tr>
<td colspan="2"></td>
</tr>
</table>
</form>
<c:if test="${requestScope.BuildingsInfo!=null}">
<br/><hr/>
<form method="post" action="/Imis/servlet/Building_sl?id=delete">
<table align="center" width="908" border="0" class="ziti" background="images/bg_main.png">
<tr>
<td width="14%" align="right">建筑物代號:</td>
<td width="14%">
<input type="text" name="J_BuildingNu" class="text1" value="${requestScope.BuildingsInfo.buildingNu}" readonly="readonly"/>
</td>
</tr>
<tr>
<td align="right">地塊名稱:</td>
<td>
<input type="text" name="J_AreaNu" class="text1" value="${requestScope.BuildingsInfo.areaNu}" readonly="readonly"/></td>
</tr>
<tr>
<td align="right">建筑物名稱:</td>
<td><input type="text" name="J_BuildingName" class="text1" value="${requestScope.BuildingsInfo.buildingName}" readonly="readonly"/></td>
</tr>
<tr>
<td align="right">建筑物面積:</td>
<td><input type="text" name="J_BuildingArea" class="text1" value="${requestScope.BuildingsInfo.buildingArea}" readonly="readonly"/></td>
</tr>
<tr>
<td align="right">建筑物層數:</td>
<td><input type="text" name="J_BuildingLayers" class="text1" value="${requestScope.BuildingsInfo.buildingLayers}" readonly="readonly"/></td>
</tr>
<tr>
<td align="right">建筑物年代:</td>
<td><input type="text" name="J_BuildDate" class="text1" value="${requestScope.BuildingsInfo.buildDate}" readonly="readonly"/></td>
</tr>
<tr>
<td align="right">建筑物用途:</td>
<% BuildingsInfo aieh = (BuildingsInfo)request.getAttribute("BuildingsInfo");
String JuseFor = null;
if(aieh.getUseFor()==1){
JuseFor="辦公用";
%>
<%}else if(aieh.getUseFor()==2){
JuseFor="出租"; %>
<%}else if(aieh.getUseFor()==3){
JuseFor= "居住";%>
<%}else if(aieh.getUseFor()==4){
JuseFor="其他";%>
<%} %>
<td width="24%"><input type="text" name="J_UseFor" class="text1" value="<%=JuseFor%>" readonly="readonly"/></td>
</tr>
<tr>
<td align="right">備注:</td>
<td><input type="text" name="J_Memo" class="text1" value="${requestScope.BuildingsInfo.memo}" readonly="readonly"/></td>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
<tr>
<td>
</td>
<td><input type="submit" name="Submit" value="刪 除" class="anniu"/></td>
</tr>
</table>
</form>
</c:if>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -