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

📄 pastcarlist.jsp

📁 Spring的项目
💻 JSP
字号:
<%@ include file="/WEB-INF/jsp/include.jsp" %>
<%@ include file="/WEB-INF/jsp/IncludeTop.jsp" %>


<table border="0" cellspacing="0" width="100%">
	<tbody>
    <center><h1><fmt:message key="heading"/></h1></center>
    	<form method="post" action=<fmt:message key="url" /> >
			select past time:
			<select size="1" name="pastTime" style="width: 150; height: 22">   
				<c:forEach var="item" items="${carModel.carNumbers}">   
					<c:choose>   
						<c:when test="${item.past_time}">
							<option selected>my</option>   
						</c:when>   
						<c:otherwise>    
							<option><c:out value="${item.past_time}"/></option>   
						</c:otherwise>   
					</c:choose>   
				</c:forEach> 
			</select>
			<input type=submit value="  sreach  "/>
		</form>
		
    <table align="center" border="1">
    	<tr>
    	<th>Train Number</th>
    	<th>Car Number</th>
    	<th>Car Marque</th>
    	<th>Car Weight</th>
    	<th>Car Self Weight</th>
    	<th>Past Time</th>
    	</tr>
    	<c:forEach var="myCars" items="${carModel.myCars}">
        <tr>
    		<td><c:out value="${myCars.serNum}"/></td>
    		<td><c:out value="${myCars.carNumberStr}"/></td>
    		<td><c:out value="${myCars.carMarque}"/></td>
    		<td><c:out value="${myCars.carryWeight}"/></td>
    		<td><c:out value="${myCars.selfWeight}"/></td>
    		<td><c:out value="${myCars.pastTime}"/></td>
    	</tr>    	    	    	    	
    	</c:forEach>

    </table>

    </tbody>
</table>
<%@ include file="IncludeBottom.jsp" %>

⌨️ 快捷键说明

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