When I generate a PDF file from a servlet, the document is opened under Netscape Navigator and Opera, but refuses to open under Internet Explorer, although Adobe opens correctly ?
What happens is that Adobe is opened in the browser but the document doesn’t appear. This happens when the size of the PDF document is smaller than the buffer-size defined by your servlet container. The standard buffer-size is 8192 bytes (check your container configuration files to define the actual buffer-size). To solve this problem, be sure that at lease 8192 bytes are in the outputStream.