Hi all,

I am using IPlanet 4.0 webserver.

I was using RequestDespatcher in my programs for a web application before I
had deployed it as an application (i.e., before creating a seperate folder
for the whole application & setting context mapping to this application
folder).
At that time it was working fine.

But the moment I made an application folder & put all the related files into
this folder & set the context mapping to this folder, the RequestDespatcher
stopped working.

The error is
"servlet Exception : RequestDespatcher : forward call failed".

I thus tried using sendRedirect() & succeeded.

But I want to use Request Despatcher & not
sendRedirect()  since the request object parameters are retained in case of
RequestDespatcher.

Kindly tell me the remedy.

Pl. note that I have mapped the Application folder name & the servlet folder
name  for virtual names in the configuration file called obj.config. &
accodingly calling other servlets & jsp files.
The servlet folder is directly inside the application folder.
While forwarding to a jsp from the controller servlet, the virtual path is
"/context_name_for_application_folder/jsp_folder/jsp_resource"
& the virtual path for forwarding to this servlet from a jsp is
"/context_name_for_servlet_folder/servlet_resource".

Is there anything wrong in this?

Could it be possible that some more configurations are reqd. in case of
deploying the application in IPlanet4.0?

Matter urgent. Pl. help.

Sunil K. Roy

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to