[prev in list] [next in list] [prev in thread] [next in thread] 

List:       velocity-user
Subject:    Re: Content-Length  [WAS: how to set Content-Type http header from VView servlet?]
From:       "Philipp Chudinov" <morpheus () basko ! ru>
Date:       2003-04-21 21:14:24
[Download RAW message or body]

ooops. sorry.

response.getOutputStream().print(buffer.toString()); //I am not sure if it
works well with encodings

read as

 response.getOutputStream().print(w.getBuffer().toString()); //I amnot sure
if it works well with encodings

well, may be it would be better if read it to string once and that count and
give away that String. You got me.




---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic