bulletin_publish_success.jsp
资源名称:NetOffice.rar [点击查看]
上传用户:guhaomin
上传日期:2007-06-10
资源大小:23203k
文件大小:1k
源码类别:
电子政务应用
开发平台:
Java
- <%@ page errorPage="/vnex/ErrorPage.jsp" %>
- <%@ page import="com.vnex.intranet.util.*" %>
- <jsp:useBean id="bvb" scope="request" class="com.vnex.intranet.communication.bulletin.value.BulletinValueBean"/>
- <jsp:useBean id="bulletinProxy" scope="application" class="com.vnex.intranet.communication.bulletin.proxy.BulletinProxyBean" />
- <jsp:useBean id="BusinessName" scope="session" class="com.vnex.intranet.pub.BusinessSession" />
- <jsp:setProperty name="bvb" property="*" />
- <%
- if(request.getParameter("endDate") != null && !request.getParameter("endDate").equals(""))
- {
- String endDate = request.getParameter("endDate")+" 00:00:00";
- bvb.setEndDate(TimeStamp.convertTimestampToCalendar(TimeStamp.toTimestamp(endDate)));
- }
- bvb.setCreatorId(BusinessName.getEmpId());
- bvb.setDeptId(BusinessName.getDeptId());
- bulletinProxy.publishBulletin(bvb);
- %>
- <html>
- <head>
- <script language=javascript>
- function forward()
- {
- document.location = "/mainctrl/bulletin/home?home";
- }
- </script>
- </head>
- <body onload="javascript:forward()">
- </body>
- <html>