JSTL for current URI

I was wondering how do get the current URI using JSTL and found this forum thread, JSTL EL for current page URL?.

If you want the actual URI of the JSP that is being rendered:

If you want the original URI, which is probably the case, then:

In DSP if you want the original URI you can use the OriginatingRequest bean which implements the HttpServletRequest.

Leave a Reply

Your email address will not be published. Required fields are marked *