just place a context-param element in your web.xml as a child of web-app.
context-param
param-namejavax.servlet.jsp.jstl.fmt.localizationContext/param-name
param-valueApplicationResources/param-value
/context-param
Sven
Anthony Mutiso 2 wrote:
What is recognized way to get JSTL fmt:message
Ah, right. That's much simpler for Struts 1.0.2. Except for the fact that
Struts has a hand in how locale is determined. For example, the html:html tag
or any piece of application code can set the session attribute named
Action.LOCALE_KEY to a Locale instance. If set, the bean:message tag uses
What is recognized way to get JSTL fmt:message tag to share the same
resources bundle as Struts bean:message tag?
Thanks
Anthony
--
To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org
I think something like this worked for me with Struts 1.0.2. Not sure if it
will still work with 1.1.
c_rt:set var=messageResourcesKey
value=%= org.apache.struts.action.Action.MESSAGES_KEY %/
c:set var=messageResources
value=${applicationScope[messageResourcesKey]}/
c:set
4 matches
Mail list logo