Switched from html writers to Apache Velocity