Reputation: 15090
Following the code.
<c:set var="birthdate" value="${requestScope.evaluation.employee.birthDate}"></c:set>
<fmt:formatDate pattern="ddMMyyyy" type="both" value="${birthdate}"/>
Error: Custom tag attribute value cannot be runtime expression. value: "[${birthdate}]"
Upvotes: 2
Views: 641
Reputation: 1109222
Ensure that the JSTL fmt
taglib is declared as per JSTL 1.1 documentation:
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
Note the /jsp
path.
Upvotes: 2