You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Affan Qureshi <qu...@etilize.com> on 2003/01/06 08:23:46 UTC

Re: PrePopulation of FormBean Values

This has been asked many times before as well.

In Action before forwarding to the JSP:

MyBean bean = new MyBean();
bean.setMyAttribute("my value from somwhere");
request.setAttribute("formBeanNameInStrutsConfig" , bean);


----- Original Message -----
From: "ashokd" <as...@visualsoft-tech.com>
To: "Struts Users Mailing List" <st...@jakarta.apache.org>
Sent: Thursday, May 02, 2002 3:23 PM
Subject: PrePopulation of FormBean Values


> Hi,
>
> How to propopulate the Form values in a Form (which is using the Struts
> FormBean)
>
> The scope of the FormBean is request.
>
> Please provide an example on this.
>
> Thanks in Advance,
> Ashok.D
>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>