serverPort

Returns the port number used to contact the server.


            serverPort
            
         

Remarks

Example: The serverPort of the following URL:
http://adobe.com:8080/nms/test.jst
returns the following string:
8080
The serverPort of the following URL:
http://adobe.com/nms/test.jst
returns the following string:
80

Features

Property of class: HttpServletRequest

Read only:

Yes

Available in:

  • JSSP
  • WebApp