At 3:53 AM -0400 8/4/00, Carine Porret wrote:
>Hello,
>
>I'm trying to get the url string using HttpUtils getRequestUrl (HttpServletRequest
>req) but it returns only part of the string I need.
>The idea is for me to get the first part of the url where the name of the server and
>the domain is, and that method shortcuts the name of the domain.
>
>Would anybody know a method to get the entire url ?
HttpUtils.getRequestURL returns the entire URL from the viewpoint of the server. Make
sure that the server itself knows what domain it is in; that works differently from OS
to OS
------------------------------------------------------------------------
Russell Gold | "... society is tradition and order
[EMAIL PROTECTED] (preferred) | and reverence, not a series of cheap
[EMAIL PROTECTED] | bargains between selfish interests."
[EMAIL PROTECTED] | - Poul Anderson, "Iron"
___________________________________________________________________________
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