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

电子政务应用

开发平台:

Java

  1. <%@ page errorPage="/vnex/ErrorPage.jsp" %>
  2. <jsp:useBean id="bulletinProxy" scope="application" class="com.vnex.intranet.communication.bulletin.proxy.BulletinProxyBean" />
  3. <jsp:useBean id="BusinessName" scope="session" class="com.vnex.intranet.pub.BusinessSession" />
  4. <%
  5.     String[] ids = request.getParameterValues("bulletinIds");
  6.     if(ids != null)
  7.     {
  8.        for(int i=0;i<ids.length;i++)
  9.        {
  10.           if(BusinessName.getEmpId() == bulletinProxy.getBulletinDetail(Integer.parseInt(ids[i])).getCreatorId())
  11.              bulletinProxy.deleteBulletin(Integer.parseInt(ids[i]));
  12.        }     
  13.     }      
  14. %>
  15. <html>
  16. <head>
  17. <script language=javascript>
  18. function forward()
  19. {
  20. document.location = "/mainctrl/personal/bulletin/home";
  21. }
  22. </script>
  23. </head>
  24. <body onload="javascript:forward()">
  25. </body>
  26. <html>