⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 updatepostsuccess.jsp

📁 解觖java技术中后台无法上传数给的情况
💻 JSP
字号:
<%--
 - $Header: /cvsroot/mvnforum/mvnforum/srcweb/mvnplugin/mvnforum/user/updatepostsuccess.jsp,v 1.34.2.1 2006/07/15 11:17:42 minhnn Exp $
 - $Author: minhnn $
 - $Revision: 1.34.2.1 $
 - $Date: 2006/07/15 11:17:42 $
 -
 - ====================================================================
 -
 - Copyright (C) 2002-2006 by MyVietnam.net
 -
 - All copyright notices regarding mvnForum MUST remain 
 - intact in the scripts and in the outputted HTML.
 - The "powered by" text/logo with a link back to
 - http://www.mvnForum.com and http://www.MyVietnam.net in 
 - the footer of the pages MUST remain visible when the pages
 - are viewed on the internet or intranet.
 -
 - This program is free software; you can redistribute it and/or modify
 - it under the terms of the GNU General Public License as published by
 - the Free Software Foundation; either version 2 of the License, or
 - any later version.
 -
 - This program is distributed in the hope that it will be useful,
 - but WITHOUT ANY WARRANTY; without even the implied warranty of
 - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 - GNU General Public License for more details.
 -
 - You should have received a copy of the GNU General Public License
 - along with this program; if not, write to the Free Software
 - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 -
 - Support can be obtained from support forums at:
 - http://www.mvnForum.com/mvnforum/index
 -
 - Correspondence and Marketing Questions can be sent to:
 - info at MyVietnam net
 -
 - @author: Minh Nguyen  
 - @author: Mai  Nguyen  
 --%>
<%@ page contentType="text/html;charset=utf-8" %>
<%@ page errorPage="fatalerror.jsp"%>
<%@ page import="net.myvietnam.mvncore.util.ParamUtil" %>
<%@ page import="com.mvnforum.db.PostBean" %>
<%@ page import="com.mvnforum.MVNForumResourceBundle" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<%@ include file="inc_common.jsp"%>
<fmt:bundle basename="mvnForum_i18n">
<%
PostBean postBean = (PostBean)request.getAttribute("PostBean");
String threadID = ParamUtil.getAttribute(request, "ThreadID");
int offset = ParamUtil.getParameterInt(request, "offset", 0);
boolean attachMore = ((Boolean)request.getAttribute("AttachMore")).booleanValue();
String url;
String desc;
if (postBean.getPostStatus() == PostBean.POST_STATUS_DEFAULT) {
  if (attachMore) {
    url = "addattachment?post=" + postBean.getPostID() + "&offset=" + offset;
    desc = MVNForumResourceBundle.getString(onlineUser.getLocale(), "mvnforum.common.success.go_attach_file");
  } else {
    url = "viewthread?thread=" + threadID + "&offset=" + offset + "#" + postBean.getPostID();
    desc = MVNForumResourceBundle.getString(onlineUser.getLocale(), "mvnforum.common.success.go_current_post");
  }
} else {
  url = "moderatependingposts?thread=" + threadID + "&offset=" + offset + "#" + postBean.getPostID();
  desc = MVNForumResourceBundle.getString(onlineUser.getLocale(), "mvnforum.common.success.go_current_posts_moderation");
}
%>
<html <fmt:message key="mvnforum.common.i18n.html_dir"/>>
<head>
  <title><fmt:message key="mvnforum.common.forum.title_name"/> - <fmt:message key="mvnforum.user.updatepostsuccess.title"/></title>
<%@ include file="/mvnplugin/mvnforum/meta.jsp"%>
<meta http-equiv='refresh' content='3; url=<%=urlResolver.encodeURL(request, response, url)%>'>
<link href="<%=onlineUser.getCssPath()%>" rel="stylesheet" type="text/css">
</head>
<body leftmargin="0" topmargin="0">
<%@ include file="header.jsp"%>
<br/>

<table width="98%" align="center">
  <tr class="nav">
    <td><img src="<%=contextPath%>/mvnplugin/mvnforum/images/nav.gif"></td>
    <td width="100%" nowrap>
    <a class="nav" href="<%=urlResolver.encodeURL(request, response, "index")%>"><fmt:message key="mvnforum.common.nav.index"/></a>&nbsp;&raquo;&nbsp;
    <fmt:message key="mvnforum.user.updatepostsuccess.title"/>
    </td>
  </tr>
</table>
<br/>

<table class="tborder" width="98%" cellspacing="1" cellpadding="3" align="center">
  <tr class="portlet-section-header">
    <td><fmt:message key="mvnforum.common.success.prompt"/></td>
  </tr>
  <tr class="portlet-section-body">
    <td><b>&raquo;&nbsp;</b><a class="command" href="<%=urlResolver.encodeURL(request, response, url)%>"><%= desc %></a> (<fmt:message key="mvnforum.common.success.automatic"/>)</td>
  </tr>
  <tr class="portlet-section-alternate">
    <td><b>&raquo;&nbsp;</b><a class="command" href="<%=urlResolver.encodeURL(request, response, "listthreads?forum=" + request.getAttribute("ForumID"))%>"><fmt:message key="mvnforum.common.success.go_current_forum"/></a></td>
  </tr>
  <tr class="portlet-section-body">
    <td><b>&raquo;&nbsp;</b><a class="command" href="<%=urlResolver.encodeURL(request, response, "index")%>"><fmt:message key="mvnforum.common.success.go_index"/></a></td>
  </tr>
</table>

<br/>
</fmt:bundle>
<%@ include file="footer.jsp"%>
</body>
</html>

⌨️ 快捷键说明

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