?? listoperationroom.jsp
字號:
<%@ page language="java" import="java.util.*" pageEncoding="GB18030"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<html>
<head>
<title>My JSP 'listOperationRoom.jsp' starting page</title>
<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/Css/LightBlue_Css.css"/>
</head>
<body>
<table class="simple textCss">
<%
ArrayList arr=(ArrayList)request.getAttribute("showList");
if(arr!=null&&arr.size()>=4){
%><tr>
<th width="30%" align="right"> 手術室編號:</th>
<td>
<input type="text" value="<%=arr.get(0)%>" class="txt">
</td>
</tr>
<%--<tr>
<th width="30%" align="right">類 型:</th>
<td><%=arr.get(1) %></td>
</tr>
--%><tr>
<th width="30%" align="right"> 地 址:</th>
<td>
<input type="text" value="<%=arr.get(2) %>" class="txt">
</td>
</tr>
<tr>
<th width="30%" align="right">備 注:</th>
<td>
<input type="text" value="<%=arr.get(3) %>" class="txt">
</td>
</tr>
<tr>
<th width="30%" align="right">是否空閑:</th>
<td>
<c:if test="<%=arr.get(arr.size()-1).equals("1")%>">
<input type="text" value="是" class="txt">
</c:if>
<c:if test="<%=arr.get(arr.size()-1).equals("0")%>">
<input type="text" value="否" class="txt">
</c:if>
</td>
</tr>
<tr>
<th width="30%" align="right"> 相關護士:</th>
<td>
<c:forEach items="${nurseNameList}" var="nurseNamelist">
<font color="blue">${nurseNamelist.name} </font>
</c:forEach>
</td>
</tr>
<%}else{%>
<tr>
<td colspan="3" align="center">對不起,此手術室還沒有安排護士...</td>
</tr>
<%} %>
<tr>
<th colspan="3">
<input type="button" value="返回" class="buttonClass"
onclick="window.location.href='<%=request.getContextPath()%>/operationRoomWuJiRuiServlet?opertion=4'"></th>
</tr>
</table>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -