Spring MVC (3.0) considers URLs with and without trailing slashes as the same URL.
For example:
http://www.example.org/data/something = http:
This usually works for me with URLRewriteFilter in Spring.
Remove trailing slash for SEO purposes /**/ %{context-path}/$1