I’m facing problem with getting URL of the jsp page.
Here is the scenario,
I have configured error pages for 404 and 500 in web.xml of tomcat application server. Whenever error raises server displaying configured page. There I want to get from which URL this page is invoked (Actually error occurred page url).
In error page I have written
It is displaying error page URL. But I want the URL I’m seeing in the address bar.