📄 selectpcroom.jsp
字号:
<%@ page language="java" pageEncoding="GBK"%>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
<link href="css/main.css" rel="stylesheet" type="text/css">
<script type="text/JavaScript" src="../js/nv.js">
</script>
<link href="css/index.css" rel="stylesheet" type="text/css">
</head>
<body>
<html:form action="/pcroom/pcroom.do?act=selectPcroom" method="post">
<p>
<input type="hidden" name="method" value="addSpeciality"/>
</p>
<table width="90%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="35"><img src="images/3toptop_01.gif" width="35" height="28"></td>
<td width="5"><img src="images/3toptop_02.gif" width="5" height="28"></td>
<td width="200" align="center" background="images/3toptop_03.gif" class="gray-bold-word"><a href="#">机房查询</a></td>
<td width="5"><img src="images/3toptop_04.gif" width="5" height="28"></td>
<td width="20"><img src="images/3toptop_05.gif" width="20" height="28"></td>
<td background="images/3top_06.gif"> </td>
<td width="35"><img src="images/3toptop_07.gif" width="35" height="28"></td>
</tr>
</table>
<table width="90%" border="1" align="center" cellpadding="4" cellspacing="2" class="gray-bd3-2">
<tr>
<td colspan="6" align="center"> </td>
</tr>
<tr>
<td width="100" align="center" class="brightcyan-tb"> 机房名称 </td>
<td colspan="3"><input type="text" name="" value=""/></td>
</tr>
<tr>
<td width="100" align="center" class="brightcyan-tb"> 负责人 </td>
<td colspan="3">
<html:select property="empName">
<html:optionsCollection label="name" property="list1" value="id"/>
</html:select></td>
</tr>
<tr>
<td width="100" align="center" class="brightcyan-tb"> 所属部门 </td>
<td colspan="3">
<html:select property="deptNmae">
<html:optionsCollection label="name" property="list" value="id"/>
</html:select>
</td>
</tr>
<tr>
<td width="100" align="center" class="brightcyan-tb">地址 </td>
<td colspan="3"><input type="text" name="" value="" size="50"/></td>
</tr>
</table>
<tr>
<p align="right" >
<input name="Submit" type="button" class="small-btn" value="查询" onClick="doSubmit('Submit');" />
<p align="right"> </p>
<table width="90%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="35"><img src="images/3toptop_01.gif" width="35" height="28"></td>
<td width="5"><img src="images/3toptop_02.gif" width="5" height="28"></td>
<td width="200" align="center" background="images/3toptop_03.gif" class="gray-bold-word"><a href="sample.htm">机房查询结果</a></td>
<td width="5"><img src="images/3toptop_04.gif" width="5" height="28"></td>
<td width="20"><img src="images/3toptop_05.gif" width="20" height="28"></td>
<td background="images/3top_06.gif"> </td>
<td width="35"><img src="images/3toptop_07.gif" width="35" height="28"></td>
</tr>
</table>
<table width="90%" border="1" align="center" cellpadding="4" cellspacing="2" class="gray-bd3-2">
<tr>
<td colspan="6" align="center"> </td>
</tr>
<tr>
<td align="center" class="brightcyan-tb"><strong>机房ID</strong></td>
<td align="center" class="brightcyan-tb"><strong> 机房名称 </strong></td>
<td align="center" class="brightcyan-tb"><strong>负责人</strong></td>
<td align="center" class="brightcyan-tb"><strong>所属部门 </strong></td>
<td align="center" class="brightcyan-tb"><strong> 地址 </strong></td>
<td align="center" class="brightcyan-tb"><strong> 备注 </strong></td>
</tr>
<logic:present name="pcroomForm" property="list">
<logic:iterate id="bean" name="pcroomForm" property="list">
<tr>
<td width="162" align="center" class="brightcyan-tb"><bean:write name="bean" property="id"/></td>
<td width="162" align="center" class="brightcyan-tb"><bean:write name="bean" property="pname"/></td>
<td width="162" align="center" class="brightcyan-tb"><bean:write name="bean" property="ename"/></td>
<td width="90" align="center" class="brightcyan-tb"><bean:write name="bean" property="dname"/></td>
<td width="155" align="center" class="brightcyan-tb"><bean:write name="bean" property="address"/></td>
<td width="87" align="center" class="brightcyan-tb"><bean:write name="bean" property="remark"/></td>
</tr>
</logic:iterate>
</logic:present>
</table>
</html:form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -