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} >
I used the following in a similar situation. ${currentUrl} can then be Used where needed. Needs core tag library