Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

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 ?

0
Posted

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 ?

0

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.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123