On Sat, 22 Jan 2000, Craig R. McClanahan wrote:
> Stan Bailes wrote:
>
> > So then what about absolute URIs? How is the application
> > supposed to determine if there was an absolute URI in the
> > request, and if so, what it was?
>
> You can reconstruct the absolute URL for a request by virtue of the
> fact that you can identify all the component pieces with
> request.getScheme(), request.getServerName(), request.getPort(), and
> request.getRequestURI(). There is also a new utility method
> (HttpUtils.getRequestURL()) that will glue them back together for
> you.
[ ... ]
Probably a non-issue, but why do you call that utility method "new" --
it's been around for a while -- at least since JSDK 2.0.
Milt Epstein
Research Programmer
Software/Systems Development Group
Computing and Communications Services Office (CCSO)
University of Illinois at Urbana-Champaign (UIUC)
[EMAIL PROTECTED]
___________________________________________________________________________
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