You are actually redirecting the page. i.e. this will ask the client to resend the request to the given page. But, what you need it just a forward / a normal view rendering of mypage
. So, you will have to change this
return "redirect:/mypage";
to
return "forward:/mypage";
Note : You can also set the values across a redirect request using RedirectAttributes