I am trying to read a "properties file" form JSTL using taglib , but i can't access it
<%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt"%>
I've located the tld file correctly in the web.xml , 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 properties file name is msg. properties
<fmt:bundle basename="msg">
<fmt:message key="error.more" />
</fmt:bundle>
I keep getting
???error.more???
instead of the message in properties file
I think the problem is either in locating the properties file , or in the base name in
<fmt:bundle basename="msg">
where should I locate the properties file , and how can I make a reference to it in the code??
thanks everyone