bulletin_write_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.setBulletinTitle("滚动消息");
  14.     bvb.setCreatorId(BusinessName.getEmpId());
  15.     bvb.setDeptId(BusinessName.getDeptId());
  16.     bvb.setIsSetToScroll(1);
  17.     bulletinProxy.publishBulletin(bvb);
  18. %>
  19. <html>
  20. <head>
  21. <script language=javascript>
  22. function forward()
  23. {
  24. document.location = "/mainctrl/personal/bulletin/home";
  25. }
  26. </script>
  27. </head>
  28. <body onload="javascript:forward()">
  29. </body>
  30. <html>