Hi, All I got a problem when using the iText to create PDF file. It works OK in the HTTP protocol. But when I use the same jsp file in the HTTPS protocol, it only output some characters on the page but not the PDF file. Does someone have experience to deal with this?? Thanks a lot.
posted 14 years ago
Hi,all I got the ansewer. Pls add these lines to your files. response.setHeader("Expires", "0"); response.setHeader("Cache-Control", "must-revalidate, post-check=0, pre-check=0"); response.setHeader("Pragma", "public");