I have some templates, that during the course of their rendering, can cause various exceptions. After looking at the Velocity Docs, it appears I can add a handler for these Exception Events via the EventCartridge and passing that EventCartidge a VelocityContext object.
I'm currently using VelocityViewResolver and I was wondering if I'm going to have to subclass it to add my EventHandler or if there was some callback from Spring, or a property I could set to achieve this?
Thanks in advance,
Patrick


Reply With Quote