try {
vw = (VelocityWriter) writerPool.get();
if (vw == null)
vw = new VelocityWriter(new OutputStreamWriter(out, encoding), 4 * 1024, true);
else
vw.recycle(new OutputStreamWriter(out, encoding));
if (vw == null)
Debug.logWarning("[VelocityViewHandler.eval] : VelocityWriter is NULL", module);
template.merge(context, vw);