opensubscriber
   Find in this group all groups
 
Unknown more information…

v : velocity-user@jakarta.apache.org 26 October 2006 • 10:16PM -0400

Re: How to catch Velocity rendering errors
by Nathan Bubna

REPLY TO AUTHOR
 
REPLY TO GROUP




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...

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.