You can either override the VelocityViewServlet's error() method or the performMerge() method to do this. I'd recommend the former.
On 10/26/06, Steve O'Hara <[EMAIL PROTECTED]> wrote:
I'm extending VelocityViewServlet and using handleRequest to return a Template. Is there anyway in which I can catch and handle data/parse errors generated from the Template during the rendering phase? At the moment, if I've got a velocity template error, the error information is sent to the browser - I'd like to capture this and perhaps manage it's display a little better. Thanks Steve --------------------------------------------------------------------- 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]