velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nathan Bubna <>
Subject Re: Mixing jsp content with tiles using tiles tool
Date Wed, 01 Oct 2003 20:54:29 GMT
Payne, Matthew said:
> The filter see its.  Here is the stack trace under tomcat 5.
> Notice the VelocityViewServlet is getting hit. Looks like it would be
> helpful if VelocityViewServlet had a little better error handling.  It
> should probably print a stack trace if it can't write web content.

that's precisely what the VelocityViewServlet.error(...) method was trying to
do when this exception was thrown.  it apparently was not allowed to print to
the output stream.

>  [Exception in:/center/listThemes.vm] null java.lang.IllegalStateException
> at
> org.apache.jasper.runtime.ServletResponseWrapperInclude.getOutputStream(Serv
> at
> Source) at
> Source) at

you might try writing a simple extension of the VVS that logs errors instead
of (or in addition to) printing them to the output stream.  actually, that
might be something worth doing all the time.  i'm trying to remember if
there's some reason it doesn't do that now...

Nathan Bubna

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message