Hi Henry,

On 13/03/2010 06:25 PM, Henry Saputra wrote:

, OR fallback to use ServletOutputStream if IllegalStateException is
triggered during call to getWriter:
              new OutputStreamWriter(response.getOutputStream(),
response().getCharacterEncoding());


Agreed, a try/catch block which wraps the outputStream in a writer should work 
well.

I'll try and come up with a patch for VelocityTemplateService and 
FreemarkerTemplateService.

kind regards

bob

Reply via email to