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

电子政务应用

开发平台:

Java

  1. <%@ include file="/vnex/head.jsp"%>
  2. <%@ page errorPage="/vnex/ErrorPage.jsp" %>
  3. <%@ page import="com.vnex.intranet.vehicle.automobile.manage.value.*" %>
  4. <jsp:useBean id="BusinessName" scope="session" class="com.vnex.intranet.pub.BusinessSession" />
  5. <jsp:useBean id="proxy" scope="request" class="com.vnex.intranet.vehicle.automobile.manage.proxy.AutoManageProxyBean" />
  6. <jsp:useBean id="autoManageInfo" scope="request" class="com.vnex.intranet.vehicle.automobile.manage.value.AutoManageValueBean" />
  7. <jsp:useBean id="autoIds" scope="request" class="com.vnex.intranet.pub.IdList" />
  8. <jsp:setProperty name = "autoIds" property="*" />
  9. <%
  10.     int autoId = Integer.parseInt(request.getParameter("automobileId"));
  11.             
  12.     if(autoIds.getIds()!= null)
  13.     {    
  14.         for(int i=0; i<autoIds.getIds().length; i++)
  15.         {
  16.             proxy.deleteAutoRepairInfo(autoIds.getIds()[i]);
  17.         }
  18.     }
  19.     String link = "";
  20.     link = "/mainctrl/manage/autoRepairList?automobileId="+autoId;        
  21. %>
  22. <jsp:forward page="<%= link %>" />