I'm using struts 1.1-b1 and am having problems getting properties from my
ApplicationResources.properties. I have placed it in my classpath at
com/mycompany/myproject/ApplicationResources.properties and have configured
struts to use com.mycompany.myproject.ApplicationResources as the
message-resources file. When I execute the following code in a JSP page, I
get back com.mycompany.myproject.ApplicationResources, which is what I
expected:
((org.apache.struts.util.PropertyMessageResources)request.getAttribute("org.
apache.struts.action.MESSAGE")).getConfig()
When I try to fetch anything with <bean:message key="{XXX}"/>, it always
fails, no matter what I plug in for {XXX}. Is there any way for me to peek
inside of the PropertyMessageResources bundle to see what keys and values it
has? I think this problem is the cause of my errors not showing up with
<html:errors/> and <html:messages></html:messages>.
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>