tomcat8 - custom error page for 400
问题 In Tomcat (v8.5.24) an URL with a query parameter containing an unencode curly brace ("{") produces a 400 error. You can configure Tomcat to allow it with "relaxedQueryChars". But this is not what I want. I tried to write a custom error page and add it to web.xml <error-page> <error-code>400</error-code> <location>/error/error400</location> </error-page> But this does not work as Tomcat is really killing the request and does not process the error pages (org.apache.coyote.http11