Hello Raja, > i write a simple program whichsubmits some data to a page and downloads > the resulting page (using HttpClient), i got the page,but not able to > get the whole page
Could you please be a bit more specific about what you expect and what you get instead? What status code is in the response? Do you get only the initial part of the page you expect, or something completely different? May there be some kind of redirect which you didn't follow? Is the response an error page because you forgot some required parameter in the request? You could generate a wire log for us to analyze: http://jakarta.apache.org/commons/httpclient/logging.html > the page size was large and i used > getResponseBodyAsStream() > and read the response. I trust you have verified the code for reading from the stream? A while back, we had a case where somebody made a mistake there, and ended up with a much larger file than expected. We also had cases where people did not correctly loop when reading from the stream, therefore getting only the first block of the response body. cheers, Roland --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]