Why don't you simplify the problem and have it go to an html page.  We had a
problem where a forwarding jsp page had errors, resulting in a blank page.

-----Original Message-----
From: Song Qiu [mailto:[EMAIL PROTECTED] 
Sent: Friday, January 30, 2004 3:43 PM
To: 'Struts Users Mailing List'
Subject: RE: <error-page> does not work with IOException?

It's a typo in the email. But I did use java.io.IOException in the
<error-page>. It just give me the blank page back. 

Thanks.

Song

> -----Original Message-----
> From: news [mailto:[EMAIL PROTECTED] Behalf Of Martin Cooper
> Sent: Friday, January 30, 2004 10:05 AM
> To: [EMAIL PROTECTED]
> Subject: Re: <error-page> does not work with IOException?
> 
> 
> Um, you might want to try java.io.IOException instread of
> java.lang.IOException... ;-)
> 
> --
> Martin Cooper
> 
> 
> "Song Qiu" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > I use <error-page> to do global error handling. It works 
> perfectly for
> > ServletException. I can see the eror page displayed 
> properly. But for
> > IOException, It does not work, I can only see a blank page.
> >
> > Here is part of my web.xml:
> > <error-page>
> > <!-- This is to catch any ServletException -->
> > <exception-type>javax.servlet.ServletException</exception-type>
> > /GenericErrorForward.jsp
> > </error-page>
> >
> > <error-page>
> > <!-- This is to catch any IOException -->
> > <exception-type>java.lang.IOException</exception-type>
> > /GenericErrorForward.jsp
> > </error-page>
> >
> > Thanks.
> >
> > Song
> >
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

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

Reply via email to