I must return address myaccount.htm#box-two
with modelMap
.
"#box-two"
is very important for me, when I put:
return new ModelAndView("redirect:myaccount.htm#box-two", modelMap);
it doesn't work, I got my parameters in my URL:
http://localhost:8080/RestFinderWebApp/mojekonto.htm?nameError=Name+required#box-two
I tried also:
return new ModelAndView("myaccount#box-two", modelMap);
but it failed.