As far as I recall, a forward works only within the context of the Web-App the
original resource is in. Therefore you can't cross domain boundaries.

In your dispatcher-servlet you can use the java.net.HttpUrlConnection for
forwarding.

Peter

Jeetendra wrote:

> Hello,
>
> I have my application server (Weblogic) inside my intranet. There is an
> i-planet web server which is accessible from the internet. Between iPlanet
> and Weblogic, I have a firewall.
>
> iPlanet stores all the static HTML pages and GIFs while Weblogic will host
> the application. The client cannot access Weblogic Server directly because
> of the firewall. So the requst comes to iPlanet which has to dispatch that
> request to Weblogic application (servlets).
>
> I intended to have a servlet on iPlanet which would dispatch the request to
> the servlets on WebLogic using RequestDispatcher.forward and
> RequestDispatcher.include but I am not sure whether they would work in this
> case. The machines may not be in the same domain either.
>
> Please suggest a suitable way on doing that.
>
> Thanx a lot in anticipation.
> Jeetendra Dassani
> Lead Systems Engineer
> Tata Infotech Limited
> SEEPZ, Andheri (E)
> Mumbai.
> Email : [EMAIL PROTECTED]
>         [EMAIL PROTECTED]
> Telephone: 8291261 X 2775/2465
>
> ___________________________________________________________________________
> 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

--

Peter Huber
(IT Consultant)

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

Gauss Interprise Consulting AG
Gesch�ftsstelle M�nchen
Witneystr.1
D-82008 Unterhaching
Telefon: +49-89-66561 - 128
Fax:     +49-89-66561 - 199
e-mail: mailto:[EMAIL PROTECTED]
Germany Web: http://www.gi-consulting.de

___________________________________________________________________________
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