I\'m trying to get a correct current URL in JSP in Spring webapp. I\'m trying to use the following fragment in the JSP file:
${pageContext.request.requestURL} >
You can make Interceptor and set request attribute e.g.
request.setAttribute("__SELF",request.getRequestURI);
and in jsp