What is the JSP equivalent to header("Location: login.php"); in PHP? I want to open a new page in the same window.

Byron Tymvios

In JSP you would use response.sendRedirect("your/URL/here"); to redirect the client's browser to a different location.

0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


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

 

 

About | Sitemap | Contact