Please answer some of the things:
1. You said the document root path is "docs/servlet" whereas it should be "docs" since 
you are keeping jsps in "docs" folder.
2. Is the com/gm/hangtag/presentation directory inside docs folder.
3. Remove the http:// protocol from the URL as you using request dispatcher which 
should be used to redirect on the internal urls.

-----Original Message-----
From: Saurabh Sahay [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 22, 2002 7:31 PM
To: [EMAIL PROTECTED]
Subject: Request Dispatcher Problem - Pls reply ASAP !


I am deploying my application in IPlanet Web Server where I keep the JSP
inside "docs", while the java files inside "docs/servlet". Since the
document root path is "docs/servlet", whenever I am trying to forward from
a servlet to a JSP, I think it is trying to search the JSP inside the
servlet directory, but it is present in the docs directory itself.

the concerned lines in Servlet are as follows:

package com.gm.hangtag.controller;
String                   strJSPPage
= "http://server/com/gm/hangtag/presentation/AddInquireGradingAndDisclosure.jsp";;
dispatcher = context.getRequestDispatcher(strJSPNext);
dispatcher.forward(request, response);


but everytime it is giving "forward call failed"...What is the reason for
this?

Thanks for your help


------------------------Disclaimer------------------------

The views of the author may not necessarily reflect those
of the Company. All liability is excluded to the extent
permitted by law for any claims arising as a result of the
use of this medium to transmit information by or to
IT Solutions (India) Pvt. Ltd.

We have taken precautions to minimize the risk of
transmitting software viruses, but we advise you to
carry out your own virus checks on any attachment to
this message.  We cannot accept liability for any loss or
damage caused by software viruses.

------------------------Disclaimer------------------------

===========================================================================
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://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

==========================================================================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://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

Reply via email to