Return-Path: Delivered-To: apmail-jakarta-struts-user-archive@www.apache.org Received: (qmail 91831 invoked from network); 31 Jan 2004 00:26:27 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 31 Jan 2004 00:26:27 -0000 Received: (qmail 28184 invoked by uid 500); 31 Jan 2004 00:25:34 -0000 Delivered-To: apmail-jakarta-struts-user-archive@jakarta.apache.org Received: (qmail 28149 invoked by uid 500); 31 Jan 2004 00:25:34 -0000 Mailing-List: contact struts-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list struts-user@jakarta.apache.org Received: (qmail 27685 invoked from network); 31 Jan 2004 00:25:26 -0000 Received: from unknown (HELO mms-rc.tumbleweed.com) (216.148.232.2) by daedalus.apache.org with SMTP; 31 Jan 2004 00:25:26 -0000 Received: from 10.1.5.15 by mms-rc.tumbleweed.com with ESMTP (Tumbleweed MMS SMTP Relay (MMS v5.6.0)); Fri, 30 Jan 2004 16:25:23 -0800 X-Server-Uuid: F5DAF557-CD2E-4FFB-9590-35E5EFCF951F Received: by pigeon.tumbleweed.com with Internet Mail Service ( 5.5.2657.72) id ; Fri, 30 Jan 2004 16:25:22 -0800 Message-ID: <7382FCA44E27D411BD4A00508BD68F9507BDAA1B@pigeon.tumbleweed.com> From: "Song Qiu" To: "'Struts Users Mailing List'" Subject: RE: does not work with IOException? Date: Fri, 30 Jan 2004 16:25:22 -0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) X-WSS-ID: 6C042A791QG445994-01-02 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C3E790.3F64D04E" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N ------_=_NextPart_001_01C3E790.3F64D04E Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 7bit > -----Original Message----- > From: Gopalakrishnan, Jayesh [mailto:Jayesh.Gopalakrishnan@schwab.com] > Sent: Friday, January 30, 2004 4:21 PM > To: Struts Users Mailing List > Subject: RE: does not work with IOException? > > > Just as a test, forward to a HTML page. > May be the blank page is because of errors in the > GenericErrorForward.jsp...due to IOException. > Is there a stacktrace being logged anywhere..? I will try it with static html. Just the fact that it works with ServletException, not IOException confuses me. The jsp page just does a forward. It's not excepton specific. > > Also arent you supposed to have the jsp within a > element in your > web.xml? Yes, you can have jsp within element. Thanks a lot! Song > > trying to help. > -jayash > > > -----Original Message----- > From: Song Qiu [mailto:song.qiu@tumbleweed.com] > Sent: Friday, January 30, 2004 4:12 PM > To: 'Struts Users Mailing List' > Subject: RE: does not work with IOException? > > > No, I can't. The GenericErrorForward.jsp adds some parameters to the > request and forwards the request to an Action which executes > some logic > before displaying the real error page. > > Thanks for your input though. > > Song > > > -----Original Message----- > > From: Hookom, Jacob [mailto:Jacob.Hookom@redline.mckhboc.com] > > Sent: Friday, January 30, 2004 1:55 PM > > To: Struts Users Mailing List > > Subject: RE: does not work with IOException? > > > > > > 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:song.qiu@tumbleweed.com] > > Sent: Friday, January 30, 2004 3:43 PM > > To: 'Struts Users Mailing List' > > Subject: RE: does not work with IOException? > > > > It's a typo in the email. But I did use java.io.IOException in the > > . It just give me the blank page back. > > > > Thanks. > > > > Song > > > > > -----Original Message----- > > > From: news [mailto:news@sea.gmane.org]On Behalf Of Martin Cooper > > > Sent: Friday, January 30, 2004 10:05 AM > > > To: struts-user@jakarta.apache.org > > > Subject: Re: does not work with IOException? > > > > > > > > > Um, you might want to try java.io.IOException instread of > > > java.lang.IOException... ;-) > > > > > > -- > > > Martin Cooper > > > > > > > > > "Song Qiu" wrote in message > > > > > > news:7382FCA44E27D411BD4A00508BD68F9507BDAA09@pigeon.tumbleweed.com... > > > > I use 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: > > > > > > > > > > > > javax.servlet.ServletException > > > > /GenericErrorForward.jsp > > > > > > > > > > > > > > > > > > > > java.lang.IOException > > > > /GenericErrorForward.jsp > > > > > > > > > > > > Thanks. > > > > > > > > Song > > > > > > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org > > > For additional commands, e-mail: > struts-user-help@jakarta.apache.org > > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org > > For additional commands, e-mail: struts-user-help@jakarta.apache.org > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: struts-user-help@jakarta.apache.org > > ------_=_NextPart_001_01C3E790.3F64D04E--