You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2012/03/30 21:43:24 UTC

DO NOT REPLY [Bug 52135] Global error page is not handled

https://issues.apache.org/bugzilla/show_bug.cgi?id=52135

Sutanu Ghosh <su...@yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |

--- Comment #4 from Sutanu Ghosh <su...@yahoo.com> 2012-03-30 19:43:24 UTC ---
I have tested this on Apache Tomcat/7.0.23

If I declare following without <error-code> or <exception-type> :
    <error-page>
        <location>/error</location>
    </error-page> 

It does not take effect, i.e. /error does not get invoked when any http error
or exception from servlet occurs.

Not sure if this is a valid declaration per servlet 3.0 spec. But if supported
it's very useful to allow a "catch-all" error handler.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org