void init(HttpServletRequest request, HttpServletResponse response, String newLine)
throws ServletException, IOException
{
_request = request;
_response = response;
StringTemplateWriter wr = group.getStringTemplateWriter(response.getWriter());
wr.setLineWidth(StringTemplateWriter.NO_WRAP);
try
{
write(wr);
}
catch (IOException io)
{
error("Got IOException writing to writer "+wr.getClass().getName());
}
// reset so next toString() does not wrap; normally this is a new writer
// each time, but just in case they override the group to reuse the
// writer.
//wr.setLineWidth(StringTemplateWriter.NO_WRAP);