Thanks for the response.
Thats what I figured, that it would be available via ServletRequest or 
ServletContext. But I don't see any methods to get it. Maybe it is set as an 
attribute within one of these classes? Any ideas which method would help me?

Av.

----- Original Message ----
From: Hassan Schroeder <[EMAIL PROTECTED]>
To: Tomcat Users List <users@tomcat.apache.org>
Sent: Tuesday, May 8, 2007 3:15:19 PM
Subject: Re: How to programatically determine connector's port numbers?

On 5/8/07, webzo <[EMAIL PROTECTED]> 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 ------------------------ [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]





__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to