Why doesn PDF output stream appear in Internet Explorer browser?
There are a number of errors that can occur when trying to display a PDF output stream from a servlet in Internet Explorer. The most common problem is that the user will get a blank page even though the PDF output is correct. This error can be overcome by setting the content length as well as content type for the output stream.