Redirect Servlet Call to Another URL



To redirect a call from a servlet to some other url, use the sendRedirect() method of the HttpServletResponse object that is passed to the service() method.
The sendRedirect() method takes the new destination url as a string parameter.







Search for more Java info on this site here:
Custom Search


Any thoughts or questions?