See inline:

----- Original Message -----
From: "Denis Kranjcec"
Subject: Re: can servlet know servers' ip?


> This is also from API documentation javax.servlet.ServletRequest
>
> java.lang.String getServerName()
>           Returns the host name of the server that received the request.
>

Tomcat and Jetty return 'Host' header as set by browser instead of server's name
not respecting servlet specification.
Does anybody know a container that  follows the spec ?

>  int getServerPort()
>           Returns the port number on which this request was received.
>
>
[waste of bandwidth deleted]

Marco

___________________________________________________________________________
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