When I use return redirect
in methods, spring automatically adds my Model variables like get params to url.
I've found solution here Spring MVC Controller: Redirect without parameters being added to my url
but unfortunately it doesn't work with spring 3.2
Also i've found following
When upgrading to spring-mvc-4.0.xsd, you should replace enableMatrixVariables and ignoreDefaultModelOnRedirect with enable-matrix-variables and ignore-default-model-on-redirect respectively.
but when i add this to my mvc-dispatcher.xml my IDE says that attribute is not allowed here.
Any solutions for Spring 3.2?