Tomcat custom 404 not shown
Posted
by Andrey
on Stack Overflow
See other posts from Stack Overflow
or by Andrey
Published on 2010-05-31T10:51:06Z
Indexed on
2010/05/31
10:52 UTC
Read the original article
Hit count: 185
tomcat
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!
© Stack Overflow or respective owner