tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Winifred Sanchez" <wasanc...@hotmail.com>
Subject Getting Tomcat Port from servlet
Date Thu, 12 Jun 2003 17:42:29 GMT
Hi!

>From a servlet, the server port can be determined by using 
request.getServerPort(). But this would need the servlet to be accessed 
first. Is it possible to get the server port without the servlet being 
accessed first?

Thanks.

_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*. 
http://join.msn.com/?page=features/featuredemail


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


Mime
View raw message