我从form post向邮局管理员发出请求,如:
@RequestMapping(value = "/redirect-result-url", method = { RequestMethod.POST })
public String redirectResultUrl(@RequestParam(value = "isSuccess", required = false) Boolean isSuccess,
@RequestParam(value = "id", required = false) Long id, HttpServletRequest request, HttpServletResponse response) {
Log.io("isSuccess")
return "redirect:"+"https://www.google.com.tw";
并且视图重定向到https://www.google.com.tw 在我的本地主机服务器中成功。
但当我部署到live server时,重定向就不起作用了。查看页面仍在我的域中,如https://test.com/server/redirect-result-url
这是怎么回事?是aws还是代理设置问题?
暂无答案!
目前还没有任何答案,快来回答吧!