Hi,
Use HttpServletRequest#getLocalPort.

Yoav Shapira
Millennium Research Informatics


>-----Original Message-----
>From: Mariano [mailto:[EMAIL PROTECTED]
>Sent: Thursday, May 27, 2004 8:50 AM
>To: 'Tomcat Users List'
>Subject: How to know http port and https port on tomcat
>
>Hi all, can i know which port is using tomcat in http and https in jsp page
>or servlet?
>
>This values are sets in server.xml file in coyote connector port, for
>example:
>
><Connector port="8080" maxThreads="150" .... >
>
><Connector port="8443" maxTh ... scheme="https" .... >
>
>Thanks
>
>Mariano López
>
>
>---------------------------------------------------------------------
>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]

Reply via email to