----- Original Message -----
From: "Bartsch Axel" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>

[snipped]
> My problem is:
> If servlet1 and servlet2, servlet1 and jsp2 are located on 2 different
TOMCAT servlet engines the forward does not work.
> The RequestDispatcher always expects a path String relative to the root of
the ServletContext.
> Does anybody know a solution?

If this is on different contexts on the same engine, then you can look at
the method ServletContext.getContext(String uri)

If you are talking of another  instance of the servlet engine, then you have
to use the class java.net.HttpUrlConnection to establish connection to the
required uri on that server.

Regds,
Gokul


>
> Axel   Lannion/France
>

___________________________________________________________________________
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

Reply via email to