jsp页面总是报错
<c:forEach items="${sessionScope.pet_visit_list}" var="pet">
<fmt:formatDate value="${pet.visit_date}" pattern="yyyy年MM月dd日 hh点mm分ss秒"></fmt:formatDate>
<br>
</c:forEach>
<c:forEach items="${sessionScope.pet_visit_list}" var="pet">
<fmt:formatDate value="${pet.visit_date}" pattern="yyyy年MM月dd日 hh点mm分ss秒"></fmt:formatDate>
<br>
</c:forEach>
改为<%@taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<%@taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt_rt"%> <c:forEach var="sk" items="${list}">
<fmt:formatDate value="${sk.startTime}" pattern="yyyy-MM-dd HH-mm-ss"/>
</c:forEach>