📄 result.jsp
字号:
<%@ taglib uri="struts-logic" prefix="logic" %>
<%@ taglib uri="struts-bean" prefix="bean" %>
<%@ taglib uri="struts-html" prefix="html" %>
<%@ taglib uri="/WEB-INF/MultiPages.tld" prefix="MultiPages" %>
<%@ page contentType="text/html; charset=UTF-8" %>
<bean:define id="title" value=" 帖子保存结果" />
<%@ include file="messageHeader.jsp" %>
<logic:notEmpty name="messageForm">
<bean:define id="messageId" name="messageForm" property="messageId" />
<bean:define id="forumThread" name="messageForm" property="forumThread" />
<bean:define id="action" name="messageForm" property="action" />
</logic:notEmpty>
<logic:notEmpty name="messageReplyForm">
<bean:define id="messageId" name="messageReplyForm" property="messageId" />
<bean:define id="forumThread" name="messageReplyForm" property="forumThread" />
<bean:define id="action" name="messageReplyForm" property="action" />
</logic:notEmpty>
<!-- 导航区 -->
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td valign="top" width="99%">
<logic:notEmpty name="forumThread" >
<logic:notEmpty name="forumThread" property="forum" >
<bean:define id="forum" name="forumThread" property="forum" />
<%@include file="nav.jsp"%>
</logic:notEmpty>
</logic:notEmpty>
</td>
<td valign="top" align="center">
</td>
</tr>
</table>
<table cellpadding="0" cellspacing="0" border="0" align="center">
<tr>
<td valign="top" >
<p>
<html:errors />
<logic:messagesNotPresent>
<logic:empty name="errors">
<br><br>
帖子操作成功!
<logic:notEmpty name="forumThread">
<logic:notEmpty name="forumThread" property="forum" >
<logic:notEqual name="action" value="delete">
<%-- 5秒后自动返回所发帖子--%>
<a href="<html:rewrite page="/forum/messageList.shtml" paramId="thread" paramName="forumThread"
paramProperty="threadId" />&message=<bean:write name="messageId"/>#<bean:write name="messageId" />"
>按这里返回所发帖子</a>
<%--
<meta http-equiv="refresh" content="5;url=<html:rewrite page="/forum/messageList.shtml" paramId="thread"
paramName="forumThread" paramProperty="threadId" />&message=<bean:write name="messageId"/>#<bean:write name="messageId" />">
--%>
</logic:notEqual>
</logic:notEmpty>
</logic:notEmpty>
</logic:empty>
</logic:messagesNotPresent>
</td>
</tr>
<tr>
<td valign="top" >
<br><br><br><p><html:link page="/index.jsp">按这里返回首页</html:link>
</td>
</tr>
</table>
<%@include file="../common/IncludeBottom.jsp"%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -