hi, Request dispatcher is a interface.actually RequestDispatcher means to dispatch the incoming Http request to some other servlet or jsp page. this is a concept.but u can obtain it two ways. throug ServletContext,HttpServletResponse.
Hi ! Ramakrishna is right. The methods used are: You use either the getRequestDispatcher(relative path of resource) or getRequestDispatcher(absolute path of resource) or getnamedDispatcher(name of the resource)(Check the method name) -Sri
UP THE IRONS !
posted 16 years ago
As per the API, there is no much difference between the methods in ServletContext and ServletRequest ( Ramakrishna, its not HttpServletResponse ), except that the method in ServletContext accept only relative path where as the other method also accept absolute path.
"If everything is in your way, sure you are on the wrong lane"
You can't expect to wield supreme executive power just because