For security reason, using filter, I set the status code of every response to "302". Using code:
httpResponse.setStatus(HttpServletResponse.SC_MOVED_TEMPORARILY);
==================================================
Monitoring with developer tool
- Chrome and Firefox can display the pages successfully, with status =>"302 Moved Temporarily"
- IE cannot display the page, with status => (Aborted)
I tried 301, 303, 307. None of them work. I tried 308, it works.
How can I solve the problem to display the page in IE with status code "302"?
Reference:
https://en.wikipedia.org/wiki/List_of_HTTP_status_codes
Reason: Marking the response "302", I tried to trick the browser to believe this is a redirect url, so that browser will not cache the input form data in last request.