You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Ryan Lubke <rl...@notshabby.net> on 2002/01/30 01:58:50 UTC

[PATCH] Watchdog 4.0/ Content Type not set on Validation Errors

Hi,

If a TagLibraryValidator returns an error, Jasper will wrap the Error 
within HTML and throw a JasperError which will be caught by the 
JspServlet object.  The JspServlet object will then write the content
of the error without setting the content type to text/html.

The attached patch resolves this issue.

Regards,

Ryan Lubke