Have you tried the page using setting AutoFlush to true ? from the JSP spec-
"Specifies whether the buffered output should be flushed automatically (true value) when the buffer is filled, or whether an exception should be raised (false value) to indicate buffer overflow." pg.1-47
I know you said your text file is less than 200K, so it shouldn't have filled up the 200kb buffer. How about different buffer sizes or turning the buffer off? maybe it raises an exception anyway when the jsp output ends to flag that there still is data in the buffer that has not been flushed...
Joined: May 18, 2005
yes i have tried with autoFlush="true". It works fine . What i am trying to ask is that although the file size is less than the size of buffer, why is buffer overflow exception is happening.