Action中定义:
request.setAttribute("newBooks", bookService.getNewBooks(1, 3));
jsp页面:
<c:forEach items="${newBooks.result}" var="book">
这里的newBooks.result怎样理解?搜索不到这样的写法
request.setAttribute("newBooks", bookService.getNewBooks(1, 3));
jsp页面:
<c:forEach items="${newBooks.result}" var="book">
这里的newBooks.result怎样理解?搜索不到这样的写法