-
May 28th, 2009, 03:44 PM
#1
form:form modelAttribute doesn't work with method="get"
Hey folks,
Complete newb at Spring MVC here. I need to change a form's method from POST to GET, but would still like the form fields within to auto-populate as they did when it was POST (except, of course, now based on the query string values).
Apart from manually inserting the value via request.getParameter() in all the fields, is there an easy way to wire the form inputs to automagically populate their values based on the query string parameters?
Thanks in advance.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules