See  http://www.systemmobile.com/articles/strutsMessageResources.html

In an Actions you can get the resource bundle like
getResources(HttpServletRequest request)

Inside taglib code you can do
RequestUtils.message(pageContext, bundle, locale, key);

- Dan

> -----Original Message-----
> From: AMIR-TAHMASSEB Marc [mailto:[EMAIL PROTECTED]
> Sent: Thursday, January 22, 2004 5:24 AM
> To: [EMAIL PROTECTED]
> Subject: How to retreive ApplicationResources properties ?
> 
> 
> Hi, 
> i wonder to kno if its possible to access the 
> ApplicationResources properties on another way than using  a 
> bean like :
> <bean:message key="my.property"/>
> 
> A generate a part of code in a JSP class. and this code has 
> to use some properties available in ApplicationResources.
> If i use <bean:message key="my.property"/> then this one is 
> no interpreted by struts and in the client side i retrieve 
> '<bean:message key="my.property"/>' in the source code 
> instead of the value of my.property.
> 
> I don't if it's possible to use something like 
> getProperty("my.property") ?
> 
> Thank's
> 
> Marc
> 
> --
> Marc AMIR-TAHMASSEB
> [EMAIL PROTECTED]
> 
> 
> ---------------------------------------------------------------------
> 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