Try something like:

String propertyValue = getResources(request).getMessage("propertyName");

Hubert

On 1/30/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Is there a way to get handle on Application property file handle in action
> class.
> What I mean is if I specify in struts-config.xml
>
>  <message-resources parameter="DICE" null="false"/>
> and drop my DICE.properties file in WEB-INF/classes directory
> Shouldn't I be able to read this property file from my DAO class which is
> called from within DispatchAction class.
>  Pls. help!
> I am getting FileNotFoundException when I am trying to read it !
> Digant
> This communication is for informational purposes only. It is not intended
> as an offer or solicitation for the purchase or sale of any financial
> instrument or as an official confirmation of any transaction. All market 
> prices,
> data and other information are not warranted as to completeness or accuracy 
> and
> are subject to change without notice. Any comments or statements made herein
> do not necessarily reflect those of JPMorgan Chase & Co., its subsidiaries
> and affiliates
>
>
>

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

Reply via email to