geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shawn Jiang <genspr...@gmail.com>
Subject How to get the string after "#" in url in servlet ?
Date Tue, 12 Jan 2010 09:46:23 GMT
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

Mime
View raw message