In simplest terms, a response forward sends control to something in the same context and the forwarded, a response rediect can go to something outside the context. The technical difference is that a forward is done entirely on the server, wheras a redirect sends the redirect command to the client (along with the address to redirect to), and the client (read: the browser) calls the new address, hence it can be any address you want.


From: Wendell Holmes <[EMAIL PROTECTED]>
Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
Subject: Possible to forward a request to another server?
Date: Thu, 27 May 2004 11:48:39 -0600

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]


_________________________________________________________________
Stop worrying about overloading your inbox - get MSN Hotmail Extra Storage! http://join.msn.click-url.com/go/onm00200362ave/direct/01/



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



Reply via email to