0123wtdd

jstl

jar存放位置

 

jar包配置方式

 

迭代器:迭代输出。

<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<c:forEach items="${lis}" var="lis">
            <tr align="center">
                <th>${lis.id}</th>
                <th>${lis.lastName}</th>
                <th>${lis.email}</th>
                <th>${lis.gender==0?"":""}</th>
                <th>${lis.department.departmentName}</th>
                <th>
                    <a href="#">Edit</a>
                    <a href="#">Delete</a>
                </th>
            </tr>
        </c:forEach>
Code

 

另一种

<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>

 JQuery

描写页面动态脚本用的

 

分类:

技术点:

相关文章:

  • 2021-11-14
  • 2021-11-13
  • 2022-01-01
  • 2021-07-29
  • 2021-12-12
  • 2021-07-04
  • 2018-01-12
猜你喜欢
  • 2021-12-19
  • 2021-08-17
  • 2021-12-08
  • 2021-11-19
  • 2021-11-22
  • 2021-11-04
  • 2021-12-12
相关资源
相似解决方案