1. Create a value object that encapsulates the data once the user logs in.
2. Create a form bean that captures this data from the value object.
3. Modify struts config to assocaite this form with the action on the modify page.

I think thats it... 



-----Original Message-----
From: Arnaud Gadby [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 02, 2002 12:55 PM
To: [EMAIL PROTECTED]
Subject: Initializing formBeans


Hi !

I'm a newbie with struts and I cannot find the right way to do a simple
thing like this :

I would like to create an HTML form to modify the user information I
recorded in my database.

I didn't find how to initialize my form on a user-basis (the userId is
stored in the session).

Thanks

Arnaud

-------------------------------------------
Arnaud GADBY                       

EILEO
9ter rue Carnot
94270 Le Kremlin Bicetre
FRANCE



--
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