Ok, I got this figured out. I was confused for a while where the data buffering happened: the buffering happens at the PrintWriter that I created when the getWriter() is called on the wrapper. So i need flush the print writer in order to make the data available to the underlying outputstream, which is my wrapper outpustream. Problem solved. sorry for the confusion. thanks
--------------------------------- Do you Yahoo!? Free Pop-Up Blocker - Get it now
