1
ウェブXML複数のエラーコードをSpringの1ページにどのようにマップしますか?
<error-page>
<error-code>403</error-code>
<location>/support/error.jsp</location>
</error-page>
<error-page>
<error-code>404</error-code>
<location>/support/error.jsp</location>
</error-page>
<error-page>
<error-code>405</error-code>
<location>/support/error.jsp</location>
</error-page>
<error-page>
<error-code>500</error-code>
<location>/support/error.jsp</location>
</error-page>
<error-page>
<exception-type>java.lang.Exception</exception-type>
<location>/support/error.jsp</location>
</error-page>
<error-page>
<exception-type>java.lang.Throwable</exception-type>
<location>/support/error.jsp</location>
</error-page>
私は1つのページ(error.jsp)にすべての例外やエラーをマップしようとしています。これが可能なら、私はこのような春を設定できますか?