Preston CRAWFORD on 03/10/05 21:47, wrote:
I'm trying to setup global exception handling. I have web.xml sending
404 and 500 exceptions to /error.do. In that action I should be able to
get at the exception, shouldn't I? Or do I have to do that earlier in
the process? I simply want to get at the exception and log it.


I don't think you can. The response object is write-only, so there is no way to tell.

I might be grossly mistaken but I guess you would have to have seperate error-pages for each type of exception. Haven't tried it myself but will need to soon.

Adam

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to