You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Winifred Sanchez <wa...@hotmail.com> on 2003/06/12 19:42:29 UTC
Getting Tomcat Port from servlet
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