action:
List<ProductVo> productVoList = new ArrayList<ProductVo>();
productVoList = new ProductServiceImpl().listAllProduct();
request.setAttribute("productVoList", productVoList);
// 跳转到jsp
request.getRequestDispatcher("/WEB-INF/jsp/supply.jsp").forward(request, response);
jsp:
<c:forEach var="product" items="${requestScope.productVoList}">
<tr>
<td>${product.productname }</td>
<td>${product.productprice }</td>
<td>${product.stock }</td>
</tr>
</c:forEach>
为什么取不到productVoList中的数据呢