my dog learned polymorphism*
The moose likes Servlets and the fly likes request dispatcher include call failed 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 "request dispatcher include call failed" Watch "request dispatcher include call failed" New topic

request dispatcher include call failed

shweta kavungal

Joined: Feb 12, 2004
Posts: 3
This is the code that i am using in my servlet to pass from servlet to another servlet.

RequestDispatcher dispatcher = getServletContext().getRequestDispatcher(address);

The include call is failing with error "request dispatcher include call failed" can any one help please require help very urgently. Also the same code is working for on another server.

Please help !!
David O'Meara

Joined: Mar 06, 2001
Posts: 13459

What is the value of 'address', what is the URL of the servet it is being called from, and what is the location of the included file?
shweta kavungal

Joined: Feb 12, 2004
Posts: 3
this is teh value of the address variable
thanks for quick response please let me know any further information required
Rishi Tandon

Joined: Oct 23, 2002
Posts: 17
Check whether you are able to access the FORWARDED page directly :
i.e. http://<host>/<web-context>/servlet/SOANewMainPage.

Rishi Tandon<br />SCJP 1.2<br />SCBCD
I agree. Here's the link:
subject: request dispatcher include call failed
Similar Threads
Calling a Java class file from a servlet
Question on Filters and RequestDispatcher
changing status code
Doubt on "dispatcher" element in "filter-mapping"
Unable to include JSP file in Servlet