File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes Calling a RequestDispatcher Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Calling a RequestDispatcher" Watch "Calling a RequestDispatcher" New topic
Author

Calling a RequestDispatcher

Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

Hi

Please tell me if there if there is any difference in getting the RequestDispatcher from ServletContext and ServletRequest

Thanks



Save India From Corruption - Anna Hazare.
Mohamed Inayath
Ranch Hand

Joined: Nov 22, 2004
Posts: 124
The only difference I can see is that one cannot specify a path relative to the current resource.
Always it path should start with a forward slash.
Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

Thanks Mohamed .
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Calling a RequestDispatcher
 
Similar Threads
sendRedirect
difference between RequestDispatcher from a ServletRequest and from a ServletContex
HTTP Status 500
servlets
How to Jsp in servlet