tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hassan Schroeder" <>
Subject Re: How to programatically determine connector's port numbers?
Date Tue, 08 May 2007 22:15:19 GMT
On 5/8/07, webzo <> wrote:

> Is there a way to programmatically determine (using Java) the port numbers that have
been set up (in server.xml) for use by the SSL and Non/SSL connectors?

You can get them from the ServletRequest object, a more portable
approach than extracting them from a container-specific config file.

Hassan Schroeder ------------------------

To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message