I am trying to read the JSTL properties file form using taglib, but I cannot access it
<%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt"%>
I correctly found the tld file in the web.xml file, I am sure of this
<taglib>
<taglib-uri>http://java.sun.com/jstl/fmt</taglib-uri>
<taglib-location>/WEB-INF/lib/fmt.tld</taglib-location>
</taglib>
The name of the properties file is msg. The properties
<fmt:bundle basename="msg">
<fmt:message key="error.more" />
</fmt:bundle>
I keep getting
???error.more???
instead of a message in the properties file
I think the problem is finding the properties file, or in the base name in
<fmt:bundle basename="msg">
where should I find the properties file and how can I make a link to it in the code
thanks everyone
source
share