struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Laurie Harper <lau...@holoweb.net>
Subject Re: [S2] Accessing Properties
Date Tue, 29 May 2007 18:52:47 GMT
Hoying, Ken wrote:
>  
> I am new to Struts2 and have a question in regards to accessing
> properties from Java classes outside of the Action.  If I would like to
> utilize the concept of package.properties property files.  Is there
> already classes available that I can easily utilize to access these
> properties?

You mean like java.util.PropertiesReesourceBundle? [1] Or maybe you're 
looking for the I18N facilities Struts provides for managing access to 
message resources? [2]

L.

[1] 
http://java.sun.com/j2se/1.5.0/docs/api/java/util/PropertyResourceBundle.html

[2] http://struts.apache.org/2.x/docs/localization.html


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


Mime
View raw message