Friday, February 22, 2008

Redirect Page in JSP

Wanna redirect the user to some pages that you want to show? Pretty simple in JSP:

String redirectURL = "http://hostname.com/index.jsp";
response.sendRedirect(redirectURL);

No comments: