Matt,

That will only render the key value from properties file onto the browser.
Actually, I would like to do some processing in the jsp page after getting
the value.

Example:

<% double value = Double.parseDouble(getValue from properties file ...);
        if(condition depends on the value) {
                ... do some processing ... ;
        }
%>

So I would like to get the key values from the properties file directly.
using the bean tag (message) .. I can only render it on the page.

Any help is appreciated ..

thanks,
Satish
        
        

-----Original Message-----
From: Matt Raible [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 31, 2002 8:33 PM
To: Struts Users Mailing List
Subject: Re: Message Resource


<bean:message key="<keyName in properties file>"/>

--- Satish Jeejula <[EMAIL PROTECTED]> wrote:
> Hello,
> 
> How can I get hold of the message resource from jsp page?
> I can do this in my actions by calling getResources() method.
> 
> Is possible to get message resources from jsp pages???
> 
> Thanks,
> Satish
> 
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
> 


__________________________________________________
Do You Yahoo!?
Great stuff seeking new owners in Yahoo! Auctions! 
http://auctions.yahoo.com

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

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

Reply via email to