Hi

If I understood you correctly the the solution is:

If Next button in first page is clicked then forward to the Action class of second 
form NOT the JSP.

Then in second form retrieve user id ( for example from you'r session bean ) and 
update according fields of the form.

For example:

define forward to action class.

 <forward name="Page2Action"         path="/Page2.do"/>

In action class of first page do this:

if (NextIsClicked)   return mapping.findForward("Page2Action");


hope it helps

Maris Orbidans


> -----Original Message-----
> From: arul [mailto:[EMAIL PROTECTED]]
> Sent: Friday, April 05, 2002 6:34 AM
> To: [EMAIL PROTECTED]
> Subject: hi
> 
> 
> Hi
> 
> I am involved in developing a small application to get 
> details abt struts.
> 
> I have four screens thru which i get info from the user and 
> thru the value
> object i transfer it to the EJB components.
> 
> I hold all the details of the four screens in four different 
> session beans.
> 
> I accept a criteria [eg. user id] from the user and retrieve the
> corresponding user info from database. I get an value object.
> 
> I have to set the details retrieved into the corresponding 
> pages from the
> first page itself. How could i do this, since when the next 
> button in my
> page is clicked i transfer the control to an .jsp i am not 
> able to populate
> the form bean.
> 
> Any solutions?????suggestions??????
> 
> Arul
> 
> 
> 
> --
> 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