Tomcat custom 404 not shown
- by Andrey
Hello!
In my web.xml I am using
<error-page>
<error-code>404</error-code>
<location>/static/404.html</location>
</error-page>
but is doesn't work in Tomcat. It still shows the Tomcat's default 404 page.
And no - that's not IE. I tried different browsers.
/static/404.html opens if requested directly.
Any ideas? Thanks in advance!