📄 results.jsp
字号:
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
<html:html>
<head>
<title>Jt Struts Example</title>
<html:base/>
</head>
<body bgcolor="white">
<table>
<c:choose>
<c:when test="${jtReply != null}">
<c:forEach items="${jtReply}" var="currentRecord">
<tr>
<td><c:out value="${currentRecord.email}"/></td>
<td><c:out value="${currentRecord.firstname}"/></td>
<td><c:out value="${currentRecord.lastname}"/></td>
<td><c:out value="${currentRecord.subject}"/></td>
<td><c:out value="${currentRecord.status}"/></td>
<td><c:out value="${currentRecord.location}"/></td>
<td><c:out value="${currentRecord.tstamp}"/></td>
<td><c:out value="${currentRecord.mdate}"/></td>
<td><c:out value="${currentRecord.comments}"/></td>
</tr>
</c:forEach>
</c:when>
<c:otherwise>
No records found.
</c:otherwise>
</c:choose>
</table>
</body>
</html:html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -