struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Laurie Harper <>
Subject Re: Define specific .properties file for <bean:message />
Date Fri, 19 Sep 2008 19:45:41 GMT
Dimitris Mouchritsas wrote:
> Hi all,
> we have a disclaimer page in our application (using struts 1.3.8) and we 
> want to display a possibly rather large legal text.
> So the thought is to create a file with only one 
> key in it and for that specific jsp have a
> <bean:message /> to load this and get the key from 
> there.
> Is this possible?

Yes, using bean:message's 'bundle' attribute. If memory serves, you can 
configure as an additional, named resource bundle 
in your struts-config.xml.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message