Dhruva B. Reddy wrote the following on 11/12/2004 12:12 PM:
I am using Struts 1.1, and I need to get to an Action with a GET
request (with parameters in the URL, as opposed to an HTML form).  If I
dump the query string in the Action, I can see that all the parameters
are getting through.  However, the Action's form is not populated
properly--I only get the first parameter.

Things to check...

1) You sure you have proper set/get methods
2) You sure the names match (your request params and the field names in the form)
3) You are using the correct form bean name for the action mapping defined in your struts-config


How are you sure the ActionForm's first field is being populated? Do you have some debugging in the form to make sure it's being set? Are you testing for the vars being set in the Action that you submit to? You sure the form doesn't have session scope and the field you think is being set isn't being carried over from being set somewhere else in the app?

--
Rick

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



Reply via email to