pagecontents.jsp

来自「A Java web application, based on Struts 」· JSP 代码 · 共 81 行

JSP
81
字号
<%@ taglib uri="/tags/struts-bean" prefix="bean" %><%@ taglib uri="/tags/struts-html" prefix="html" %><%@ taglib uri="/tags/struts-logic" prefix="logic" %>	<tr>		<th>			<bean:message key="Shoe.description.label"/>		</th>		<th>			<bean:message key="Shoe.startDate.label"/>		</th>		<th>			<bean:message key="Shoe.startMileage.label"/>		</th>		<th>			<bean:message key="Shoe.mileage.label"/>		</th>		<th>			<bean:message key="Shoe.totalMileage.label"/>		</th>		<th>			<bean:message key="Shoe.default.label"/>		</th>		<th>			<bean:message key="Shoe.retired.label"/>		</th>		<th>			&nbsp;		</th>	</tr>	<logic:iterate name="QueryResults"	               property="results"	               id="theRow"	               scope="request">		<tr>			<td>				<html:link action="/EditShoe"				           paramName="theRow"				           paramId="id"				           paramProperty="id">					<bean:write name="theRow" property="description"/>				</html:link>			</td>			<td>				<bean:write name="theRow" property="startDateOrBlank"/>			</td>			<td>				<bean:write name="theRow" property="startMileage"/>			</td>			<td>				<bean:write name="theRow" property="mileage"/>			</td>			<td>				<bean:write name="theRow" property="totalMileage"/>			</td>			<td>				<bean:write name="theRow" property="defaultAsYesNo"/>			</td>			<td>				<bean:write name="theRow" property="retiredAsYesNo"/>			</td>			<td>				<html:link action="/DeleteShoe"			               paramName="theRow"			               paramId="id"			               paramProperty="id"			               onclick="return confirm('Delete the current item?');">			    	Delete			    </html:link>			</td>		</tr>	</logic:iterate>		<tr>		<td colspan="8" align="right">			<html:link action="/CreateNewShoe">				<bean:message key="QueryShoesPage.addItem"/>			</html:link>		</td>	</tr>

⌨️ 快捷键说明

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