struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Laurie Harper <lau...@holoweb.net>
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 disclaimer.properties file with only one 
> key in it and for that specific jsp have a
> <bean:message /> to load this disclaimer.properties and get the key from 
> there.
> Is this possible?

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

L.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message