tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mikolaj Rydzewski <>
Subject Re: How to get tomcat configuration inside a servlet
Date Fri, 18 Aug 2006 09:10:03 GMT
Miguel Alcalde wrote:
> My problem is that
> I need to get "ssl port" inside a servlet in order to do a transparent
> redirection to "secure zone".
> In our architecture we're running multiple tomcat instances with
> different configurations. Not in all cases ports are set  80/443.
> We're thinking to get tomcat configuration for connectors and obtain
> which port we should redirect.
> How can I resolve it? How can I get information about the connector
> inside my servlet?
You don't have to worry about it. Read about redirectPort attribute at

Mikolaj Rydzewski <>

View raw message