Thanks, Yoav.

I will try to write something to wrap the request.  The streaming back part
answers my question about how to handle the response.

I could simply use IIS to redirect the original request, but the server
address would be unreachable for the client as only the web server would
have a route across the firewall.

Wendell

-----Original Message-----
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 27, 2004 11:53 AM
To: Tomcat Users List
Subject: RE: Possible to forward a request to another server?



Hi,
Like HttpServletResponse#sendRedirect?  It's not like a forward in that
the client URL changes, but it does pass the request to another server.
Beyond that, you COULD write something that'd wrap the request, invoke
another server to handle it, and stream the response to your own client.

Yoav Shapira
Millennium Research Informatics


>-----Original Message-----
>From: Wendell Holmes [mailto:[EMAIL PROTECTED]
>Sent: Thursday, May 27, 2004 1:49 PM
>To: '[EMAIL PROTECTED]'
>Subject: Possible to forward a request to another server?
>
>Is it possible to forward a request from one Tomcat server to another?
I
>looked at the API's and it seems to say the resource must be located on
the
>same server and in the same servlet context.  I'm needing to have some
way
>to forward http requests from an external IIS web server to an internal
>tomcat server.  Basically, I just want to be able to do the equivalent
to
>an
>Apache ProxyPass/ProxyPassReverse.  Could this be done by writing a
servlet
>to wrap the original request and forward on?
>
>Thanks
>
>Wendell Holmes, MCSE
>Education Logistics, Inc.
>406 728-0893 ext. 2107
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential, proprietary
and/or privileged.  This e-mail is intended only for the individual(s) to
whom it is addressed, and may not be saved, copied, printed, disclosed or
used by anyone else.  If you are not the(an) intended recipient, please
immediately delete this e-mail from your computer system and notify the
sender.  Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to