tomcat-users mailing list archives

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

Howdy,
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 [mailto:wasanchez@hotmail.com]
>Sent: Thursday, June 12, 2003 1:42 PM
>To: tomcat-user@jakarta.apache.org
>Subject: 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




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: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message