tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hassan Schroeder" <hassan.schroe...@gmail.com>
Subject Re: How to programatically determine connector's port numbers?
Date Tue, 08 May 2007 22:15:19 GMT
On 5/8/07, webzo <webzo2000@yahoo.com> 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.

HTH,
-- 
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com

---------------------------------------------------------------------
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