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:[EMAIL PROTECTED] >Sent: Thursday, June 12, 2003 1:42 PM >To: [EMAIL PROTECTED] >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: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
