Is there a way in Spring2 to build dynamic views to which a Controller can redirect to?
I have a form with a hidden field for an ID. If the form is submited or other exception occurs i want to redirect back to the form (i have set formView). It redirect ok, but when it redirect back to form it is loosing the ID parameter. Is there a way i can put it back ?
I know in Struts2 you could do this by having an action result like this:
<result name="success" type="redirect" >
<param name="location">index</param>
<param name="category">${category}</param>
<param name="pageNumber">${pageNumber}</param>
<param name="parse">true</param>
<param name="encode">true</param>
</result>
Long story short i want to be able to redirect to an URL like: index.htm?id=3