tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kito D. Mann" <>
Subject Re: Tomcat, getRequestURI(), and URL fragments
Date Mon, 01 Aug 2005 16:37:14 GMT
At 01:02 PM 7/30/2005, you wrote:
>The web browser never sends (or shouldn't send) #blah so the webserver 
>will never see it.

Ah. That's kind of what I was thinking. For some reason, some browsers do 
actually send it, so I was getting a little confused. Thanks.

>Kito D. Mann wrote:
>>I've noticed an interest consequence of getRequestURI() with Tomcat -- 
>>getRequestURI() doesn't return the URL fragment (the part after the "#"). 
>>So, if the URL is, getRequestURI() only 
>>returns "/page.html", as opposed to "/page.html#blah". Apache, however, 
>>knows the full URL (which is recorded in the logs). Can anyone tell me if 
>>this is normal behavior, and if there's a way to retrieve the URL fragment?
>To unsubscribe, e-mail:
>For additional commands, e-mail:

Kito D. Mann
Author, JavaServer Faces in Action - JSF FAQ, news, and info

Are you using JSF in a project? Send your story to, 
and you could get your story published and win a free copy of JavaServer 
Faces in Action!

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message