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]