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 <
sohara@pivo...> 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:
velocity-user-unsubscribe@jaka...
> For additional commands, e-mail:
velocity-user-help@jaka...
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail:
velocity-user-unsubscribe@jaka...
For additional commands, e-mail:
velocity-user-help@jaka...
opensubscriber is not affiliated with the authors of this message nor responsible for its content.