Hi all, I was wondering if I can access the exception thrown in the exception handler... What I would like to do is generate a generic xml document containing info about the exception...
If it is possible, how can I accomplish this? <map:handle-errors> <map:select type="exception"> <map:when test="sax"> <!-- forward to generic xml exception page --> </map:when> <map:when test="fileNotFound"> <!-- forward to generic xml exception page --> </map:when> </map:select> </map:handle-errors> <!-- jx template --> <Exception> <Class>${exception.class.name}</Class> <Message>${exception.message}</Message/> <Cause>${exception.cause}</Cause> </Exception> Kind regards, Robby