Hi,
check the path....
/examples/servlet/<AnyServlet>
write it, like this: /<AnyServlet>
In other words:
getServletConfig().getServletContext().getRequestDispatcher("/<Any
Servlet>").forward(request, response
kindly, let me know if it works.
Regards,
Saad
----- Original Message -----
From: "Arnab Nandi" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, July 02, 2001 1:21 PM
Subject: Re: Servlet To Servlet Communication
> Hi,
> We deployed our servlets in the
> <TOMCAT_HOME>/webapps/examples/WEB-INF/classes directory.
> When we forward the request to the jsp's from the servlets it is running
> fine, but from one servlet to another we are using
> getServletConfig().getServletContext().getRequestDispatcher("/examples/s
> ervlet/<Any Servlet>").forward(request, response), it is not working.
> Regards,
> Arnab
>
> -----Original Message-----
> From: Saad Shareef [mailto:[EMAIL PROTECTED]]
> Sent: Monday, July 02, 2001 1:45 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Servlet to Servlet communucation
>
>
> Where did you deploy you servlets.
>
> Regards,
> Saad
>
> ----- Original Message -----
> From: "Arnab Nandi" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Monday, July 02, 2001 10:58 AM
> Subject: Servlet to Servlet communucation
>
>
> > Hi,
> >
> > In our application we need to forward the request from one servlet to
> > another.
> > When we use this
> >
> getServletConfig().getServletContext().getRequestDispatcher("/servlet/Se
> > archServlet").forward(request, response);
> >
> > It works fine in VAJ test environment but fails on Tomcat/Apache
> Server.
> >
> > Any pointers in this regards will be of great help
> >
> > Regards
> > Arnab
> >
> >
> ________________________________________________________________________
> ___
> > To unsubscribe, send email to [EMAIL PROTECTED] and include in the
> body
> > of the message "signoff SERVLET-INTEREST".
> >
> > Archives: http://archives.java.sun.com/archives/servlet-interest.html
> > Resources:
> http://java.sun.com/products/servlet/external-resources.html
> > LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
> ________________________________________________________________________
> ___
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
> body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
>
___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html