in Action:

getResources(javax.servlet.http.HttpServletRequest request) 
or

getResources(javax.servlet.http.HttpServletRequest request,
java.lang.String key) 


first for default

some think like this:
<message-resources
parameter="net.wessendorf.struts.ApplicationResources" null="false"/>
-->ApplicationResources.properties


second, when you provide a key for alternative Bundles.
<message-resources key="foo"
parameter="net.wessendorf.struts.ApplicationResources2" null="false"/>
-->ApplicationResources2.properties

Cheers,

> -----Original Message-----
> From: news [mailto:[EMAIL PROTECTED] On Behalf Of j h
> Sent: Thursday, July 08, 2004 12:00 PM
> To: [EMAIL PROTECTED]
> Subject: Application Resources application.properties
> 
> 
> How can I get access to the Application Resources 
> (application.properties) in 
> the java code?
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to