【JSP开源代码栏目提醒】:网学会员在JSP开源代码频道为大家收集整理了SaveReAnnounce.jsp提供大家参考,希望对大家有所帮助!
<%@ page contentType="text/html;charset=GBK" %>
<%@ include file="INC/const.jsp"%>
<%@ include file="INC/theme.jsp"%>
<%
String errMsg="";
try{
Forum theForum=ForumFactory.getForum(forumID);
String url=theForum.addMSG(request,response);
stats=theForum.getForumType()+"回复成功!";
out.println(headLine(forumID,forumName,forumLogo,theForum.getForumType(),2,stats));
%>
<meta http-equiv=refresh content="3;URL=<%=url%>">
<br><table cellpadding=0 cellspacing=0 border=0 width=95% bgcolor=<%=tableBackColor%> align=center>
<tr><td><table cellpadding=3 cellspacing=1 border=0 width="100%">
<tr align=center><td width="100%" bgcolor=<%=tableTitleColor%>><b><FONT COLOR=<%=tableFontColor%>>状态:您回复帖子成功</font></b></td>
</tr><tr><td width="100%" bgcolor=<%=tableBodyColor%>>
<FONT COLOR=<%=tableContentColor%>>本页面将在3秒后自动返回您所发表的帖子页面,<b>您可以选择以下操作:</b><br><ul>
<li><a href="index.jsp"><font color="<%=tableContentColor%>">返回首页</font></a></li>
<li><a href="list.jsp?forumID=<%=forumID%>"><font color="<%=tableContentColor%>"><%=theForum.getForumType()%></font></a></li>
<li><a href="<%=url%>"><font color="<%=tableContentColor%>">发表的帖子</font></a></li>
</ul></td></tr></table></td></tr></table>
<%
}
catch(ForumNotFoundException e)
{
e.printStackTrace();
errMsg=e.getMessage();
%>
<%@include file="INC/error.jsp"%>
<%
}
catch(UserNotFoundException e)
{
e.printStackTrace();
errMsg=e.getMessage();
%>
<%@include file="INC/error.jsp"%>
<%
}
catch(Exception e)
{
e.printStackTrace();
errMsg=e.getMessage();
%>
<%@include file="INC/error.jsp"%>
<%
}
%>
<%@ include file="foot.jsp"%>
上一篇:
savepasswd.jsp
下一篇:
画一卷情长,念一世安好