Problem using <fmt:message>, instead of <bean:message>
843838Dec 5 2005 — edited Dec 5 2005I'm changing my bean: message tags to fmt:message as I need to pass parameters and according to direction I've received I'm supposed to use fmt instead of bean as we may eventually need to internationalize our messages.
When I view my JSP, the value of <fmt:message key="myMessage"> I see ???myMessage??? instead of the value that is in my MessageResources.properties file (which is properly defined in my struts-config.xml file). If I use the bean:message tag, the value shows properly, but when I use the fmt:message tag it acts like it can't find the message in the MessageResources.properties file. Yes I have the fmt taglib defined at the top of the JSP page:
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
I'm using Tomcat 5.5.12. I have other JSTL tags (c:out) that work OK.
Any help would be greatly appreciated!