struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Neil Aggarwal" <n...@JAMMConsulting.com>
Subject RE: Strange error-page behavior
Date Sat, 25 Jun 2005 00:00:57 GMT
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:java@wendysmoak.com] 
> Sent: Friday, June 24, 2005 6:53 PM
> To: Struts Users Mailing List
> Subject: Re: Strange error-page behavior
> 
> 
> From: "Neil Aggarwal" <neil@JAMMConsulting.com>
> 
> > 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: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message