Hi,
In our application when a user types a bad url,
a custom error message is displayed. for this we are using error.jsp.
Now i want to get the user typed url which is causing the 404 error.
When i tried to used request.getHeader("Referer")
it gives the error.jsp url only.
Any idea of how to get the bad url?
thanks.
In our application when a user types a bad url,
a custom error message is displayed. for this we are using error.jsp.
Now i want to get the user typed url which is causing the 404 error.
When i tried to used request.getHeader("Referer")
it gives the error.jsp url only.
Any idea of how to get the bad url?
thanks.