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

电子政务应用

开发平台:

Java

  1. <%@ page errorPage="/vnex/ErrorPage.jsp" %>
  2. <%@ page import="com.vnex.intranet.commoninfo.addresslist.value.*"%>
  3. <%@ page import="com.vnex.intranet.commoninfo.addresslist.proxy.*"%>
  4. <%@ page import="com.vnex.intranet.util.*"%>
  5. <%@ page import="java.util.*" %>
  6. <%@ page import="java.sql.*" %>
  7. <jsp:useBean id="addressListProxy" class="com.vnex.intranet.commoninfo.addresslist.proxy.AddressListProxyBean" scope="application" />
  8. <%
  9.   String companyId = "";
  10.   if(request.getParameter("companyId")!=null && !request.getParameter("companyId").equals(""))
  11.     companyId = request.getParameter("companyId");
  12.     
  13.   String[] str = null;
  14.   int[] employeIds = null;
  15.   if(request.getParameter("employeIds")!=null && !request.getParameter("employeIds").equals(""))
  16.     str = request.getParameterValues("employeIds");
  17.   employeIds = new int[str.length];
  18.   
  19.   for(int i=0; i<str.length; i++)
  20.   {
  21.     employeIds[i] = Integer.parseInt( str[i] );
  22.   }
  23.   addressListProxy.removeAddressEmploye(employeIds);
  24.   response.sendRedirect("/mainctrl/commoninfo/addresslist/detailAddressList?companyId=" + companyId);
  25. %>