I tried to use this error-page tag to redirect all exceptions to a
default error page in my system... but this never worked for me. So I
wrote a filter that catch the exceptions and redirect them to a specific
page.

On Fri, 2003-01-10 at 05:52, [EMAIL PROTECTED] wrote:
> Hi,
> I am developing a web-application that is using filters as controller in an
> MVC-design. I would like to use declarative exception handling in my
> web-application as well (using the error-page-tag in the deployment
> descriptor), but it seems that exception handling does not work with
> filters. When using servlets, exceptions are caught, but now, they are send
> to the client in stead of my error-page? Even when I catch all exceptions,
> like so:
> 
>     <error-page>
>         <exception-type>java.lang.Exception</exception-type>
>         <location>/error.jsp</location>
>     </error-page>
> 
> no exception thrown by the filter is caught!
> 
> Can anybody help me? I have been looking in several books and other
> references and could not find anything.
> 
> Thanks,
> Joeri
> __________________________
> J. Theelen - GIS Developer
> http://www.gim.be
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> 
-- 

Felipe Schnack
Analista de Sistemas
[EMAIL PROTECTED]
Cel.: (51)91287530
Linux Counter #281893

Centro Universitário Ritter dos Reis
http://www.ritterdosreis.br
[EMAIL PROTECTED]
Fone/Fax.: (51)32303341


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to