Wendy:
The reason I need to execute code is for me to send an error report
to the site admin.
Thanks,
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:40 PM
> To: Struts Users Mailing List
> Subject: Re: Strange error-page behavior
>
>
> From: "Neil Aggarwal" <[EMAIL PROTECTED]>
>
> > I have this directives in my web.xml file:
> > <!-- Application wide error page -->
> > <error-page>
> > <exception-type>java.lang.Throwable</exception-type>
> > <location>/error.do</location>
> > <error-page>
>
> Having dealt with this recently, I'm fairly sure the
> <location> has to be
> something that the container can actually locate, read, and
> send out to the
> browser.
>
> I can't find anything in the Servlet 2.3 specification that
> actually *says*
> it has to be a physical file, but that's been my experience, and the
> comments in the DTD (which refers to "a resource in the web
> application" )seem to imply it.
>
> Consider this... by the time something *that* bad has happened, do you
> really want to try to execute code before you can show
> something to the
> user?
>
> HTH,
> --
> 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]