Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Get anchor information

 
Ronnie Ho
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

http://localhost:9080/appName/page?param1=true#123
From the above URL, I'd like to retrieve the anchor information (#123), but I cannot find it in the HttpServletRequest object, does anyone know how can I retrieve it? Thanks.
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is no way to retrieve it because the browser doesn't send it.
This is only used on the client side.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic