Ernesto Echeverría
2005-08-28 21:13:20 UTC
sorry if duplicate I was using a different account
Question: (trying to find my way with Spring MVC and JSPs in general, this
is a newbie kind of question)
When passing parameter requests to a controller (as request parameters in
the URL), is there a way for passing those same parameters in
For a practical example, let's say we have the UserController (related to
the users.html page). If that page is invoked, say as,
http://localhost:8080/appfuse/users.html?param=value
The controller can then evaluate this parameter and take proper action,
however, what's the proper way to inject this parameter into the
ModelAndView that's returned?
I'd like to be able to use that parameter in the next url (in the
userList.jsp) to look like "/editUser.html?form=list¶m=value"
I've been able to inject reference values and extra values to the command
object using the referenceData method of BaseFormControllers, but don't have
anything equivalent for plain Controllers.
What are the options? or is there anything simpler than that?
TIA.
Question: (trying to find my way with Spring MVC and JSPs in general, this
is a newbie kind of question)
When passing parameter requests to a controller (as request parameters in
the URL), is there a way for passing those same parameters in
For a practical example, let's say we have the UserController (related to
the users.html page). If that page is invoked, say as,
http://localhost:8080/appfuse/users.html?param=value
The controller can then evaluate this parameter and take proper action,
however, what's the proper way to inject this parameter into the
ModelAndView that's returned?
I'd like to be able to use that parameter in the next url (in the
userList.jsp) to look like "/editUser.html?form=list¶m=value"
I've been able to inject reference values and extra values to the command
object using the referenceData method of BaseFormControllers, but don't have
anything equivalent for plain Controllers.
What are the options? or is there anything simpler than that?
TIA.