Hey

I need to change mergeTemplate() in VelocityServlet so that it uses 
getWriter() instead of getOutputStream() (since I have code later on 
that uses getWriter() and you can't mix). The easiest fix for me would 
be to simply subclass VelocityServlet and implement mergeTemplate() with 
this, but it turns out that the writerPool is private so I can't use that.

Request:
1) Either change the writerPool in VelocityServlet to protected
2) Change mergeTemplate() in VelocityServlet to use getWriter in the 
first place

Either would be ok.

Is there any reason in particular why getOutputStream() is used instead 
of getWriter() there?

Thanks,
   Rickard

-- 
Rickard �berg
Senselogic


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to