https://bz.apache.org/bugzilla/show_bug.cgi?id=69195
Bug ID: 69195
Summary: custom 400 error redirect not working in tomcat 9
Product: Tomcat 9
Version: 9.0.86
Hardware: PC
Status: NEW
Severity: normal
Priority: P2
Component: Catalina
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: -----
Created attachment 39805
--> https://bz.apache.org/bugzilla/attachment.cgi?id=39805&action=edit
the picture shows default error page its not handle the custom 400 error
tried to redirect the 400 error with my custom error page but its not working.
400 only not redirect, 404 and 500 its working fine
<error-page>
<error-code>400</error-code>
<location>/faces/errors.xhtml</location>
</error-page>
<error-page>
<error-code>404</error-code>
<location>/faces/notfound.xhtml</location>
</error-page>
<error-page>
<error-code>500</error-code>
<location>/faces/error.xhtml</location>
</error-page>
2,
changed in server level --sever.xml file its also not working
<Host name="localhost" appBase="webapps"
unpackWARs="true" autoDeploy="true">
<Valve
className="org.apache.catalina.valves.ErrorReportValve"
errorCode.400="/faces/errors.xhtml"
showReport="false"
showServerInfo="false" />
webapp has not received the request at all and has been sent to the tomcat
server level in advance. Disposed of.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]