multi_accident_deleted.jsp
资源名称:NetOffice.rar [点击查看]
上传用户:guhaomin
上传日期:2007-06-10
资源大小:23203k
文件大小:1k
源码类别:
电子政务应用
开发平台:
Java
- <%@ page errorPage="/vnex/ErrorPage.jsp" %>
- <jsp:useBean id="driverProxy" scope="application" class="com.vnex.intranet.vehicle.driver.proxy.DriverProxyBean" />
- <%
- String empId = request.getParameter("empId");
- String empName = request.getParameter("empName");
- String automobileId = request.getParameter("automobileId");
- String[] ids = request.getParameterValues("accidentId");
- int[] accidentIds = new int[0];
- if(ids != null)
- {
- accidentIds = new int[ids.length];
- for(int i=0;i<ids.length;i++)
- {
- accidentIds[i] = Integer.parseInt(ids[i]);
- }
- driverProxy.deleteAccidents(accidentIds);
- }
- String link = "/mainctrl/driver/listAccident?empId=" + empId +
- "&empName=" + empName + "&automobileId=" + automobileId;
- %>
- <jsp:forward page="<%= link %>" />