URI « Web.xml « JSP-Servlet Q&A





1. web.xml 404 redirect to servlet, how to get the original URI?    stackoverflow.com

I'm redirecting 404 errors to a servlet via the following in my web.xml.

<error-page>
    <error-code>404</error-code>
    <location>/notFound.do</location>
</error-page>
I'd like to log where the request was trying to go, ...