wood burning stoves 2.0*
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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Calling a RequestDispatcher" Watch "Calling a RequestDispatcher" New topic

Calling a RequestDispatcher

Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234


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


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 .
subject: Calling a RequestDispatcher
Similar Threads
difference between RequestDispatcher from a ServletRequest and from a ServletContex
HTTP Status 500
How to Jsp in servlet