2

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}]"

skaffman
  • 398,947
  • 96
  • 818
  • 769
Jothi
  • 14,720
  • 22
  • 68
  • 93

1 Answers1

2

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.

See also:

Community
  • 1
  • 1
BalusC
  • 1,082,665
  • 372
  • 3,610
  • 3,555