Friday, 28 February 2014

How to redirect browser from a JSP page?

Use the response implicit object to redirect the browser to a different resource response.sendRedirect("");
Also physically change the Location HTTP header attribute.
Do this before any output has been sent to the client. This should be the case with the response.sendRedirect() method also.

No comments:

Post a Comment

Thank you so much for providing your valuable feedback. I will will look into them and update my skills & technologies accordingly.