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

电子政务应用

开发平台:

Java

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