How do I perform browser redirection from a JSP page?

Govind Seshadri

You can use the response implicit object to redirect the browser to a different resource, as:


You can also physically alter the Location HTTP header attribute, as shown below:

String newLocn = "/newpath/index.html";
0 Comments  (click to add your comment)
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



About | Sitemap | Contact