Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Struts 2 »

[s2] ResourceBundle Search Order

Matt Raible

2007-08-13



On the following page, it describes how you can create hierarchical i18n
files and Struts will scan the hierarchy for appropriate messages.

http://struts.apache.org/2.x/docs/internationalization.html

This works well for Actions, but since most of my messages are in JSPs, I'd
prefer to put the *.properties files next to my JSPs and use a similar
hierarchy-scanning setup. Is this possible? If so, how would I go about
doing it? Is it just a matter of writing a new TextProvider? If so, how do I
plug it in and get <s:text> to read from it?

Thanks,

Matt
--
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.