Hi,
 
We are using iText with weblogic 7.0.
 
There appears to be a difference in the way the pdf gets handeled when creating it thru a standalone application and when its created from a servlet.
 
When created from the servlet the code is -
 
// baos is the stream which has the pdf
response.setContentType("application/pdf");
ServletOutputStream sos; sos = response.getOutputStream();
baos.writeTo(sos);
sos.flush();
sos.close();
 
Behaviour when pdf contains png images -
- IE browser dumps a text (of pdf) output
 
Behaviour when pdf contains jpg images -
- IE shows the pdf correctly
 
In both the above case a standalone test application correctly creates the pdf and stores it on the disk.
 
Is this a known problem or am I missing something ?
 
 
Thanks,
 
Pradeep


Do you Yahoo!?
Yahoo! Search - Find what you’re looking for faster.

Reply via email to