解决在jsp页面用jstl标签的forEach循环里头格式化时间

当引入<%@ taglib prefix="c" uri="http://java.sun.com/jstl/fmt" %>时, <td><fmt:formatDate value="${petition.acceptTime}" /></td>会出现如下图错误 应该为<%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt_rt"%>就行
相关文章
相关标签/搜索