Hmm, come to think of it, I saw that one. However, that kind of doesn't solve my problem. I am in a class that is loaded earlier than the webapps (Bootstrapper kind of class which is loaded when the webapp is being loaded first time). I am trying to get BOTH the Non-SSL and SSL ports at that point. Ideas?
Thanks for the response. Av. ----- Original Message ---- From: Hassan Schroeder <[EMAIL PROTECTED]> To: Tomcat Users List <users@tomcat.apache.org> Sent: Tuesday, May 8, 2007 4:41:24 PM Subject: Re: How to programatically determine connector's port numbers? On 5/8/07, webzo <[EMAIL PROTECTED]> wrote: > Thats what I figured, that it would be available via ServletRequest or > ServletContext. But I don't see any methods to get it. In the Servlet 2.4 API doc -- the one I happened to have open :-) -- ServletRequest.getServerPort() 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] ____________________________________________________________________________________ Finding fabulous fares is fun. Let Yahoo! FareChase search your favorite travel sites to find flight and hotel bargains. http://farechase.yahoo.com/promo-generic-14795097 --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]