tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Liang Xiao Zhu <ubek...@goldigolino.com.es>
Subject Re: Redirect request to another Tomcat server
Date Thu, 15 May 2008 13:06:23 GMT
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" <ubekhet@goldigolino.com.es>
> 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: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
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: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message