web.xml
の内部では、このような何かを追加:HTMLファイルの
<error-page>
<error-code>400</error-code>
<location>/WEB-INF/jsp/errorpages/ErrorPage400.jsp</location>
</error-page>
<error-page>
<error-code>401</error-code>
<location>/WEB-INF/jsp/errorpages/ErrorPage401.jsp</location>
</error-page>
<error-page>
<error-code>403</error-code>
<location>/WEB-INF/jsp/errorpages/ErrorPage403.jsp</location>
</error-page>
<error-page>
<error-code>404</error-code>
<location>/WEB-INF/jsp/errorpages/ErrorPage404.jsp</location>
</error-page>
<error-page>
<error-code>500</error-code>
<location>/WEB-INF/html/error.html</location>
</error-page>
パスが/WEB-INF/html/error.html
好きなはずです。
追加後、内部サーバーエラー404が見つかりません。空の本文が返されます。 –