|
|
@@ -128,7 +128,7 @@ public class VelocityRender extends Render {
|
|
|
writer = response.getWriter(); // BufferedWriter writer = new BufferedWriter(new OutputStreamWriter(System.out));
|
|
|
|
|
|
template.merge(context, writer);
|
|
|
- // writer.flush(); // flush and cleanup
|
|
|
+ writer.flush(); // flush and cleanup
|
|
|
}
|
|
|
catch(ResourceNotFoundException e) {
|
|
|
throw new RenderException("Example : error : cannot find template " + view, e);
|