Wendy:

I tried setting my error page directive to:
  <error-page>
    <exception-type>java.lang.Throwable</exception-type>
    <location>/errorPage.jsp</location>
  </error-page>

I am still getting an IllegalStateException.

That seems weird to me.

        Neil


--
Neil Aggarwal, JAMM Consulting, (214) 986-3533, www.JAMMConsulting.com
FREE! Valuable info on how your 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 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 or redirect to the Struts action?  Or perhaps... can 
> you just call
> the whatever-sends-the-email from the JSP?
> 
> Let me know if you get <location> to work with a path that's 
> not an actual
> file, I haven't been able to find anything definitive that 
> says you can't,
> but it never worked for me.
> 
> -- 
> Wendy Smoak
> 
> 
> ---------------------------------------------------------------------
> 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