tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kito D. Mann" <>
Subject Tomcat, getRequestURI(), and URL fragments
Date Sat, 30 Jul 2005 02:37:53 GMT
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?

Environment: Linux, Tomcat 5.0.28, Apache w/mod_jk.

Kito D. Mann (
Virtua, Inc.
Author, JavaServer Faces in Action 
(<> - JavaServer Faces FAQ, news, and info

"Existence doesn't necessarily mean living..."  
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message