Monday, September 26, 2005

In the interface javax.servlet.RequestDispatcher, what is the difference between the forward(ServletRequest request, ServletResponse response) method and the include(ServletRequest request, ServletResponse response) method?


Forward will transfer the control to the target resource(servlet (or) JSP), without returning the control to the caller.


Include will
transfer the control to the target resource(servlet (or) JSP), but then returning the control to the caller after the execution.

0 Comments:

Post a Comment

<< Home