tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From saugata ghosh <saugataghosh_2...@yahoo.com>
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.

-Saugata



		
__________________________________
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message