You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by Shawn Jiang <ge...@gmail.com> on 2010/01/12 10:46:23 UTC
How to get the string after "#" in url in servlet ?
I have a requirement that is to read string after "#" in url in servlet ?
For example:
The request url is : http://localhost:8080/console/Welcome?aaa=bbb*
#hashString*
What I need is to read *hashString *in servlet. I tried:
- HttpServletRequest.getQueryString()
- httpServletRequest.getRequestURL()
but both of them is not containing the *#hashString*. Seems the part
after "*#*" was dropped. Dose anyone know how to get it ? Thanks in
advance.
--
Shawn