Trying to use JSTL but have the following problem:
Index.xhtml page:
I could solve the problem with adding
xmlns:fmt="http://java.sun.com/jsp/jstl/fmt"
in my xhtml file.
OR
declaring this in my web.xml, and copying the c.tld in /WEB-INF/jsp from my application:
<jsp-config>
<taglib>
<taglib-uri>http://java.sun.com/jsp/jstl/core</taglib-uri>
<taglib-location>/WEB-INF/jsp/c.tld</taglib-location>
</taglib>
</jsp-config>
Warning: xmlns:c="http://java.sun.com/jstl/core" throws exception, collected in my h:messages Tag
Seems that:
The solution is to remove the /jsp from the jstl namespace:
xmlns:c="http://java.sun.com/jstl/core"
See this post.