Ta Sas
Ta Sas

Reputation: 9813

Spring MVC: Howto get the fragment of an URL by a Controller Method

Consider the following URL:

http://www.iamsomeweiredurl.fromsomewhere/andIwant#thisfragment

Is there a chance to get "thisfragment" by @RequestMapping or something?

Upvotes: 4

Views: 1870

Answers (1)

Florent
Florent

Reputation: 12420

No. You have to use JavaScript to get anchors.

Upvotes: 4

Related Questions