I have a situation here where my frontend developer wants to add several parameters to every link. He needs those as parameters in the view where the link points to.
Each @Controller method will return Strings only. This is backed by a standard viewresolver using said String as viewname:
<bean id="viewResolver" class="org.springframework.web.servlet.view.InternalResourceViewResolver"
p:prefix="/WEB-INF/jsp/" p:suffix=".jsp" />
Whenever the Controller returns a redirect: however, the request parameters from the original request are dropped and he can not access them in the .jsp
Is there any neat way to ensure that even after redirect:'ing, the url parameters are present in the view which was redirected to?