Johnny Kewl escribió:
---------------------------------------------------------------------------
HARBOR: http://coolharbor.100free.com/index.htm
The most powerful application server on earth.
The only real POJO Application Server.
---------------------------------------------------------------------------
----- Original Message ----- From: "ubekhet" <[EMAIL PROTECTED]>
To: <users@tomcat.apache.org>
Sent: Thursday, May 15, 2008 1:35 AM
Subject: Redirect request to another Tomcat server
Hi everyone,
I am wondering, if there is some posibility to redirect the request
from one Tomcat Server to another one. I would like to know where is
the point to change that. Basically, in one Tomcat Server I recieve
the request I will check the headers and then depending of some
parameters I will redirect the same request to another Tomcat or not.
In fact, I have been looking at some files, such as,
Http11NioProtocol.java and Http11NioProcessor.java, because both
files are for managing the connector of Tomcat, in this case the
connector Coyote using NIO.
Thans in advance!!!
response.sendRedirect(newUrl);
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi Johnny Kewl,
With response.sendRedirect(newUrl); I have to invoke this in some web
applications, but I want to modified Tomcat sources for to do that, and
the class Http11NioProtocol and Http11NioProcessor dont have
sendRedirect() methods!!!
Any idea for redirect the request from the connector NIO?
Thanks!!!!
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]