bulletin_publish_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:useBean id="BusinessName" scope="session" class="com.vnex.intranet.pub.BusinessSession" />
  6. <jsp:setProperty name="bvb" property="*" />
  7. <%
  8.     if(request.getParameter("endDate") != null && !request.getParameter("endDate").equals(""))
  9.     {
  10.         String endDate = request.getParameter("endDate")+" 00:00:00";
  11.         bvb.setEndDate(TimeStamp.convertTimestampToCalendar(TimeStamp.toTimestamp(endDate)));
  12.     }
  13.     bvb.setCreatorId(BusinessName.getEmpId());
  14.     bvb.setDeptId(BusinessName.getDeptId());
  15.     bulletinProxy.publishBulletin(bvb);
  16. %>
  17. <html>
  18. <head>
  19. <script language=javascript>
  20. function forward()
  21. {
  22. document.location = "/mainctrl/bulletin/home?home";
  23. }
  24. </script>
  25. </head>
  26. <body onload="javascript:forward()">
  27. </body>
  28. <html>