tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <>
Subject RE: Getting Tomcat Port from servlet
Date Thu, 12 Jun 2003 18:21:04 GMT

No.  The reason is webapps are supposed to work independently of what
host/port they're deployed to.  This has been discussed in detail on
this list in the past: search the archives for more information.

Yoav Shapira
Millennium ChemInformatics

>-----Original Message-----
>From: Winifred Sanchez []
>Sent: Thursday, June 12, 2003 1:42 PM
>Subject: Getting Tomcat Port from servlet
>>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?
>Add photos to your e-mail with MSN 8. Get 2 months FREE*.
>To unsubscribe, e-mail:
>For additional commands, e-mail:

This e-mail, including any attachments, is a confidential business communication, and may
contain information that is confidential, proprietary and/or privileged.  This e-mail is intended
only for the individual(s) to whom it is addressed, and may not be saved, copied, printed,
disclosed or used by anyone else.  If you are not the(an) intended recipient, please immediately
delete this e-mail from your computer system and notify the sender.  Thank you.

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

View raw message