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

电子政务应用

开发平台:

Java

  1. <%@ page errorPage="/vnex/ErrorPage.jsp" %>
  2. <jsp:useBean id="leaveWordProxy" scope="application" class="com.vnex.intranet.communication.leaveword.proxy.LeaveWordProxyBean" />
  3. <%
  4.    String[] ids = request.getParameterValues("leaveWordIds");
  5.    if(ids != null)
  6.    {
  7.      for(int i=0;i<ids.length;i++)
  8.         leaveWordProxy.deleteLeaveWord(Integer.parseInt(ids[i]));
  9.    }     
  10.    String pageTo = "/mainctrl/leaveword/home";
  11.    if(request.getParameter("history") != null)
  12.       pageTo += "?history";
  13. %>
  14. <html>
  15. <head>
  16. <script language=javascript>
  17. function forward()
  18. {
  19. document.location = "<%=pageTo%>";
  20. }
  21. </script>
  22. </head>
  23. <body onload="javascript:forward()">
  24. </body>
  25. <html>