Hi, I'm trying to set custom error page for 500 response. I've set it like this:
<error-page>
<error-code>500</error-code>
<location>/WEB-INF/views/desktop/pages/error/error.jsp</location>
</error-page>
But it's not working for using not supported request type, I'm still getting error page with stack trace with exception org.springframework.web.HttpRequestMethodNotSupportedException. I also tried to set exception-type to java.lang.Exception, but it's not working either. How can it be set to make it work? Thanks