解決在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"%>就行
相關文章
相關標籤/搜索