forward, include and redirection?
One of hundreds of answers available with our premium content service.
A: The RequestDispatcher forward() and include() methods are mechanisms that are internal to a servlet container and do not affect the public URL of a Web resource. When you call the forward() method on a RequestDispatcher with a JSP path, the servlet container returns the JSP content on the original servlet's URL; this effectively becomes the response of the servlet itself.
… full answer hidden
Premium members click below for full answer
What's the difference between forward, include and redirection?