You can probably find your answer here because it is asked quite often:
http://www.mail-archive.com/struts-user%40jakarta.apache.org/


Contains examples:
http://apache.roweboat.net/jakarta/struts/binaries/jakarta-struts-1.1.zip



Brief overview:
-Define a form in your struts-config file
-Define an action in your struts-config file 
-Associate the form with the action
-In the action class that is invoked before forwarding to the
 page, access the form
-Populate form with values
-Forward to page (make sure to forward and not redirect)


robert


> -----Original Message-----
> From: EL AKARI Mehdi [mailto:[EMAIL PROTECTED]
> Sent: Thursday, September 25, 2003 6:58 AM
> To: Struts Users Mailing List
> Subject: How to make a form pre-filled from an action class
> 
> 
> Hi!
> I need to prefill a form with valus (that a get in a struts 
> action), how can i do this?
> thanks 
> Mehdi
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to