multi_work_record_deleted.jsp

来自「非常完整的Java开发的网络办公系统」· JSP 代码 · 共 21 行

JSP
21
字号

<%@ page errorPage="/vnex/ErrorPage.jsp" %>

<jsp:useBean id="driverProxy" scope="application" class="com.vnex.intranet.vehicle.driver.proxy.DriverProxyBean" />

<%
    String[] ids = request.getParameterValues("wrId");
    int[] wrIds = new int[0];
    if(ids != null)
    {
       wrIds = new int[ids.length];
       for(int i=0;i<ids.length;i++)
       {
          wrIds[i] = Integer.parseInt(ids[i]);       
       }
       driverProxy.deleteWorkRecords(wrIds);
    }    
    String link = "/mainctrl/driver/listWorkRecord";  
%>

<jsp:forward page="<%= link %>" />

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?