How to get correct current URL in JSP in Spring webapp June 7, 2023 by Tarik The best way would be to use EL like this: ${requestScope['javax.servlet.forward.request_uri']}