1、<%@ page contentType="text/html;charset=UTF-8" language="java" %><%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %><html> <head> <title>公司列表</title> <script src="${pageContext.request.contextPath }/resources/page.js"></script>

3、 <tbody> <c:for苇质缵爨Each items="${list}" var="product"> <tr> <td><input type="checkbox" value=${product.id } class="comId"/></td> <td id="base">${product.name}</td> <td >${product.person}</td> <td >${product.phone}</td> <td >${product.img}</td> <td >${product.adress}</td> <td >${product.email}</td> <td > <a href="${pageContext.request.contextPath }/admin/company/${product.id}">详情</a></td>

5、 <a id="deleteBtn" class="btn btn-danger" role="button" >删除产品</a> </div> </body> <script type="text/javascript"> $(function(){ $('#pageUl li').each(function(i) { var no = $(this).children().text(); var pageNo = $('#pageNo').val(); if (pageNo == no) { $(this).addClass("active") } }); })

7、"ids":checkedArray },function (data) { if(data.success){ alert("删除用户成功!"); location.href="${pageContext.request.contextPath}/admin/company/showList/1"; } });} }); }) </script></html>
