The default port of a HttpRequest is 80.

-----Original Message-----
From: Kolli, Srinivasa REDDY, BGM [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 18, 1999 1:13 PM
To: [EMAIL PROTECTED]
Subject: Return value from getServerPort() method


Hi,

I am using HttpServletRequest's getServerPort() method to get the port
number on which the request was received. What value will be returned if
Servlet access is like http://www.myserver.com/servlets/MyServlet ? I would
appreciate your answer.

Thank You,

Srinivasa Reddy Kolli

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to