tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vincent Aumont <vincent.aum...@vslab.com>
Subject Re: How to get the URL?
Date Wed, 17 May 2000 15:31:58 GMT
 HttpUtils.getRequestURL(request)

"Michael P. McCutcheon" wrote:

> How do I get the full URL that was passed into a servlet?
>
> I can only seem to get pieces of it with:
>
> System.out.println("---> got request URI: "+request.getRequestURI());
> System.out.println("---> got path info: "+request.getPathInfo());
> System.out.println("---> got translated path:
> "+request.getPathTranslated());
> System.out.println("---> got server name: "+request.getServerName());
>
> Is there any way to just get the full URL without having to piece it
> together?
>
> Mike
>
> --------------------------------------------------------------------------
> To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commmands, email: tomcat-user-help@jakarta.apache.org


Mime
View raw message