You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Anand Raman <an...@mymailbag.com> on 2001/02/01 17:35:48 UTC

accessing a property of ActionForm

Hi guys

I want to access a property of my ActionForm in a jsp file and use it to
construct a anchor..

The ActionForm is in the request scope and is being passed to the
desired jsp page.. (verified using request.getAttributeNames())

However how do i access the value of a property..

Please suggest a way out.. I am not using any html tag lib.. 

I just want to access a property in the ActionForm and construct a
anchor..

Thanks
Anand Raman


Re: accessing a property of ActionForm

Posted by Anand Raman <an...@mymailbag.com>.
well I found that <bean:message does the same thing i want..

That solves my problem for the moment..

however how do i get the object from making pure api calls like
request.getAttribute("??????"); when my ActionForm is called "myForm"

thanks
Anand 

On Thu, Feb 01, 2001 at 10:05:48PM +0530, Anand Raman wrote:
>Hi guys
>
>I want to access a property of my ActionForm in a jsp file and use it to
>construct a anchor..
>
>The ActionForm is in the request scope and is being passed to the
>desired jsp page.. (verified using request.getAttributeNames())
>
>However how do i access the value of a property..
>
>Please suggest a way out.. I am not using any html tag lib.. 
>
>I just want to access a property in the ActionForm and construct a
>anchor..
>
>Thanks
>Anand Raman