redirect and transfer of header to another URL
There is a controller that redirects user to a specific Url:
The problem is that after the redirect to the site "http://www.site.ru", I can't find my header "transfer_header" :(
@RequestMapping(value = "/goto", method = RequestMethod.GET)
public String redirectToSite(ModelMap model, HttpServletRequest request, HttpServletResponse response)
String url = "http://www.site.ru";
return "redirect:" + url;
Where is it?
How can I do the transfer of header correctly?
Thanks in advance for your help.