Re: Initialize Struts form with request parameters

2003-07-01 Thread Dan Tran
the other one is to manipulate the form Hope this helps -D - Original Message - From: "Adam Hardy" <[EMAIL PROTECTED]> Newsgroups: Struts Sent: Tuesday, July 01, 2003 7:26 AM Subject: Re: Initialize Struts form with request parameters > This would happen automatica

Re: Initialize Struts form with request parameters

2003-07-01 Thread Adam Hardy
This would happen automatically if you access the JSP via an action mapping in your struts-config. You specify the action class, the action form and the forward/jsp. struts will automatically instantiate the form when the request comes in and populate the form properties with any equivalent req

RE: Initialize Struts form with request parameters

2003-07-01 Thread James Childers
ilto:[EMAIL PROTECTED] > Sent: Tuesday, July 01, 2003 9:07 AM > To: 'Struts Users Mailing List'; [EMAIL PROTECTED] > Subject: Initialize Struts form with request parameters > > > Hi all, > I have a problem with struts form. > > The form is: > > >

Initialize Struts form with request parameters

2003-07-01 Thread Tien Nguyen
Hi all, I have a problem with struts form. The form is: and the ActionForm has the following properties (fields and getters/setters): traineeId name What I want is: the traineeId must be initialized by a value passed via URL: e.g: http://localhost/test/chooseTraineePage.jsp?traineeId=12345