bulletin_modify_success.jsp
上传用户:guhaomin
上传日期:2007-06-10
资源大小:23203k
文件大小:1k
源码类别:

电子政务应用

开发平台:

Java

  1. <%@ page errorPage="/vnex/ErrorPage.jsp" %>
  2. <%@ page import="com.vnex.intranet.util.*" %>
  3. <jsp:useBean id="bvb" scope="request" class="com.vnex.intranet.communication.bulletin.value.BulletinValueBean"/>
  4. <jsp:useBean id="bulletinProxy" scope="application" class="com.vnex.intranet.communication.bulletin.proxy.BulletinProxyBean" />
  5. <jsp:setProperty name="bvb" property="*" />
  6. <%
  7.     if(request.getParameter("endDate") != null && !request.getParameter("endDate").equals(""))
  8.     {
  9.         String endDate = request.getParameter("endDate")+" 00:00:00";
  10.         bvb.setEndDate(TimeStamp.convertTimestampToCalendar(TimeStamp.toTimestamp(endDate)));
  11.     }
  12.     bvb.setBulletinId(Integer.parseInt(request.getParameter("bulletinId")));
  13.     bulletinProxy.modifyBulletin(bvb);
  14. %>
  15. <html>
  16. <head>
  17. <script language=javascript>
  18. function forward()
  19. {
  20. document.location = "/mainctrl/bulletin/home?ss&start=<%=request.getParameter("start")%>";
  21. }
  22. </script>
  23. </head>
  24. <body onload="javascript:forward()">
  25. </body>
  26. <html>