题
假设用户使用HTTPS访问条纹Action1。 Action1处理完成后,它将使用重定向排序重定向到Action2。此时,浏览器使用HTTP而非HTTP接收302至Action2。在重定向到Action2时,我将如何使重定向解决方案使用HTTP?
解决方案
您可能需要实施自己自己的 解析度 为了这。例如:
return new Resolution() {
public void execute(HttpServletRequest request, HttpServletResponse response) {
response.sendRedirect("https://example.com/target.action");
}
};
不隶属于 StackOverflow