tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From saugata ghosh <>
Subject port number at runtime
Date Tue, 20 Jul 2004 06:33:17 GMT
It will be very usefull if the port number on which
the SSL and Http non-ssl ports are running, is
available runtime. (Ex:- 8080 and 8443).
Is it possible?

The "int getPort()" method of the CoyoteConnector
class returns the port number but its not accessible
at runtime. If there is a "sendRedirect()" method in
some jsp, where one wants to redirect from http to say
https, then the port number must be known in advance.
So there is a need for such an API.


Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message