extend the VelocityViewServlet and override the error(...) method. :) 
you can just wrap and rethrow the exceptions and errors.

On 8/30/05, Joe Toth <[EMAIL PROTECTED]> wrote:
> I use the VelocityViewServlet and whenever I have something like a
> nullpointerexception it looks like the servlet does not throw the error,
> instead it catches it and displays
> VelocityViewServlet : Error processing the template I wanted to know if
> there is anyway to make it just throw the error, so the servlet container
> can handle it? I want to just display a generic error message instead.
> 
> Thanks
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to