⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 list_library.jsp

📁 在sun实训时写的
💻 JSP
字号:
<%@page contentType="text/html"%><%@page pageEncoding="UTF-8"%><%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> <%@taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>         You currently have <b>${fn:length(sessionScope.library.DVDCollection)}</b>        DVDs in your collection:<br/>        <table border='0' cellspacing='0' cellpadding='5'>            <tr>                <c:if test="${not empty sessionScope.showTitle}">                    <th>TITLE</th>                </c:if>                <c:if test="${not empty sessionScope.showYear}">                    <th>YEAR</th>                </c:if>                <c:if test="${not empty sessionScope.showGenre}">                    <th>GENRE</th>                </c:if>            </tr>            <c:forEach var="item" items="${sessionScope.library.DVDCollection}">                <tr>                    <c:if test="${not empty sessionScope.showTitle}">                        <td>${item.title}</td>                    </c:if>                    <c:if test="${not empty sessionScope.showYear}">                        <td>${item.year}</td>                    </c:if>                    <c:if test="${not empty sessionScope.showGenre}">                        <td>${item.genre}</td>                    </c:if>                </tr>            </c:forEach>        </table>

⌨️ 快捷键说明

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