RE: Strange error-page behavior

2005-06-27 Thread Neil Aggarwal
ct: Re: Strange error-page behavior > > > I've found that the directive in web.xml works > only if the > error is thrown from an Action, before the JSP is processed. Putting > <%@ page errorPage="/errorPage.jsp" %> in your JSP may help. > >

Re: Strange error-page behavior

2005-06-27 Thread Laurie Harper
Neil Aggarwal wrote: I am using Tiles to construct the site. I set the page buffer on my layout page and the content page to a large value and I still get the IllegalStateException. Does the tiles:insert tag cause a problem? Hmm, maybe Tiles is fluching the response somewhere along the line..

Re: Strange error-page behavior

2005-06-26 Thread Bill Schneider
I've found that the directive in web.xml works only if the error is thrown from an Action, before the JSP is processed. Putting <%@ page errorPage="/errorPage.jsp" %> in your JSP may help. I believe Tomcat always uses RequestDispatcher.forward for directives, which breaks if the response is

Re: Strange error-page behavior

2005-06-25 Thread Neil Aggarwal
Laurie: > The problem is that by the time the error occurs in your JSP, the > response has already been committed. When Tomcat tries to issue the > redirect to the error page, it fails. Your only recouse is to increase > the size of the response buffer. To be robust, the buffer would need to >

Re: Strange error-page behavior

2005-06-25 Thread Laurie Harper
ness can reduce operating costs by 17% or more in 6 months or less! http://newsletter.JAMMConsulting.com -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Laurie Harper Sent: Friday, June 24, 2005 7:32 PM To: user@struts.apache.org Subject: Re: Strange error-page behavi

Re: Strange error-page behavior

2005-06-25 Thread Martin Gainty
can reduce operating costs by 17% or more in 6 months or less! http://newsletter.JAMMConsulting.com -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Laurie Harper Sent: Friday, June 24, 2005 7:32 PM To: user@struts.apache.org Subject: Re: Strange error-page behavior

RE: Strange error-page behavior

2005-06-24 Thread Neil Aggarwal
more in 6 months or less! http://newsletter.JAMMConsulting.com > -Original Message- > From: news [mailto:[EMAIL PROTECTED] On Behalf Of Laurie Harper > Sent: Friday, June 24, 2005 7:32 PM > To: user@struts.apache.org > Subject: Re: Strange error-page behavior > > >

Re: Strange error-page behavior

2005-06-24 Thread Laurie Harper
ruts Users Mailing List Subject: Re: Strange error-page behavior From: "Neil Aggarwal" <[EMAIL PROTECTED]> The reason I need to execute code is for me to send an error report to the site admin. Have you tried using an actual file (.jsp or .html) that does nothing but forward

RE: Strange error-page behavior

2005-06-24 Thread Neil Aggarwal
business can reduce operating costs by 17% or more in 6 months or less! http://newsletter.JAMMConsulting.com > -Original Message- > From: Wendy Smoak [mailto:[EMAIL PROTECTED] > Sent: Friday, June 24, 2005 6:53 PM > To: Struts Users Mailing List > Subject: Re: Strange erro

Re: Strange error-page behavior

2005-06-24 Thread Wendy Smoak
From: "Neil Aggarwal" <[EMAIL PROTECTED]> > The reason I need to execute code is for me to send an error report > to the site admin. Have you tried using an actual file (.jsp or .html) that does nothing but forward or redirect to the Struts action? Or perhaps... can you just call the whatever-se

RE: Strange error-page behavior

2005-06-24 Thread Neil Aggarwal
! http://newsletter.JAMMConsulting.com > -Original Message- > From: Wendy Smoak [mailto:[EMAIL PROTECTED] > Sent: Friday, June 24, 2005 6:40 PM > To: Struts Users Mailing List > Subject: Re: Strange error-page behavior > > > From: "Neil Aggarwal" <

Re: Strange error-page behavior

2005-06-24 Thread Wendy Smoak
From: "Neil Aggarwal" <[EMAIL PROTECTED]> > I have this directives in my web.xml file: > > > java.lang.Throwable > /error.do > Having dealt with this recently, I'm fairly sure the has to be something that the container can actually locate, read, and send out to the browser. I can't

Strange error-page behavior

2005-06-24 Thread Neil Aggarwal
Hello all: I have this directives in my web.xml file: java.lang.Throwable /error.do This is supposed to invoke this action in the struts config file: The page.error outputs a generic error page. When I throw an exception from an action class, it works a