Perform a Browser Redirection from a JSP Page.
 

Report
Question
15 views

Please explain why do you think this question should be reported?

Report Cancel

<% response.sendRedirect(URL); %>
1
<% response.sendRedirect(URL); %>
 

or we can change the location of the HTTP header attribute as follows:

<% response.setStatus(HttpServletResponse.SC_MOVED_PERMANENTLY); response.setHeader(URL); %>
1
<% response.setStatus(HttpServletResponse.SC_MOVED_PERMANENTLY); response.setHeader(URL); %>
 

Please follow and like us:

About the Author