posted 19 years ago
Hi All,
We are develpoing a application which reads XML data from one server by using http connection and then writes the XML data to HttpServletResponse.
But the problem our XML data is huge so sometimes if data goes over1 MB then it writes only part of the data on to the HttpServletResponse and then it prints Error:500 with the data on the HttpServletResponse.
I have tried changing the buffer size by response.setBufferSize() .It works only if i give it a value exactly equals to the length of the data and this value is very large .Also everytime i can't calculate the length of the data before writing so this is not very feasible solution for me.
Please help if you have any idea???