result.jsp
来自「Java的框架」· JSP 代码 · 共 41 行
JSP
41 行
<%@ include file="/common/taglibs.jsp" %>
<html>
<c:if test="${!empty result}">
<head>
<title><fmt:message key="${result.title}"/></title>
<content tag="heading">
<fmt:message key="${result.heading}"/>
</content>
</head>
</c:if>
<body>
<c:if test="${!empty result}">
<div class="error">
<img src="<c:url value="/images/iconWarning.gif"/>"
alt="<fmt:message key="icon.warning"/>" class="icon" />
<fmt:message key="${result.message}">
<c:if test="${!empty result.messageParameters}">
<c:forEach var="msgParam" items="${result.messageParameters}">
<fmt:param><c:out value="${msgParam}"/></fmt:param>
</c:forEach>
</c:if>
</fmt:message>
</div>
<br>
<c:choose>
<c:when test="${!empty result.actionUrl}">
<a href="<c:url value="${result.actionUrl}"/>">« Back</a>
</c:when>
<c:otherwise>
<a href="javascript:history.back();">« Back</a>
</c:otherwise>
</c:choose>
</c:if>
</body>
<!--
<a href="mainPage.action" onclick="history.back();return false">« Back</a>
-->
</html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?