May 28th, 2009, 03:44 PM
form:form modelAttribute doesn't work with method="get"
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.