You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Tewathia, Atul" <at...@hpsglobal.com> on 2001/04/14 18:16:35 UTC
Pre populating a Form Bean
I want to pre-populate a formBean in this scenario.
Jsp1 --> Jsp2
When I process the data of jsp1 using form1 in the perform method how do I
set the form2 attributes .. so that the jsp2 is displayed with preloaded
data.
Can any body guide in this ??
Re: Pre populating a Form Bean
Posted by Tharwat Abdul-Malik <ta...@grandtalent.com>.
Pre populating a Form BeanAssuming that jsp2 will use the same data in the formBean, just stuff it in the request object in the perform method. Then jsp2 can use the bean.
----- Original Message -----
From: Tewathia, Atul
To: 'struts-user@jakarta.apache.org'
Sent: Saturday, April 14, 2001 12:16 PM
Subject: Pre populating a Form Bean
I want to pre-populate a formBean in this scenario.
Jsp1 --> Jsp2
When I process the data of jsp1 using form1 in the perform method how do I set the form2 attributes .. so that the jsp2 is displayed with preloaded data.
Can any body guide in this ??
Re: Pre populating a Form Bean
Posted by Rajan Gupta <rg...@yahoo.com>.
I think u should be able to Populate it in the Action of JSP1.
--- "Tewathia, Atul" <at...@hpsglobal.com> wrote:
>
> I want to pre-populate a formBean in this scenario.
>
> Jsp1 --> Jsp2
>
> When I process the data of jsp1 using form1 in the perform method how do
> I
> set the form2 attributes .. so that the jsp2 is displayed with preloaded
> data.
>
> Can any body guide in this ??
>
__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
http://personal.mail.yahoo.com/