The problem happens because you didn't declare the tag libs in your web.xml file.
Follow the steps:
1 - If you are using the newest version of JSTL ( 1.0.6 ) then you can find the tld files at "tld" folder, else you have to extract the standard jar and search into folders;
2 - Put the tld file in WEB-INF folder;
3 - Open web.xml at WEB-INF folder and write the declaration below:
<taglib>
<taglib-uri>http://java.sun.com/jstl/fmt</taglib-uri>
<taglib-location>/WEB-INF/fmt.tld</taglib-location>
</taglib>
4 - Make sure that you are calling:
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
on top of your JSP page;
5 - Restart your server if it's running and..
Solved!
No comments:
Post a Comment