Hello Folks, Iam getting the following exception while redirecting a page after the completion of file download... "IllegalStateException or Response already commited" My servlet code for file download is as follows:
Whenever you are redirecting nothing should be written to the out stream of the response. Remove the println's from your code that would be executed before the redirection. -Kaustubh.
Kaustubh. Mumbai, India.
Ravi Kumar Ravuru
Joined: Apr 18, 2002
Hello Kaustubh Patil, Thanks for your reply. "Remove the println's from your code that would be executed before the redirection." Would u like to point out in the code where you are referring to the above statement?Awaiting your reply. Regards, Ravi