Hi,
I have been able to create a PDF using iText libraries.
Now what I want is that this PDF should automatically open in IE instead of getting crated on one of the drives of the computer (version 6.0) as soon as it is created without any human involvement.
The web app has no control over what happens to a downloaded on the client - that's entirely up to the browser and how the user has configured it. It may be saved automatically, it may get displayed automatically, or the user may be asked what to do with it each time.
Hi Ulf,
I have my pdf data in a byte array made out of ByteArrayOutputStream that I created using iText.
What I want to know is how to push this byte array into an internet explorer page.
Please help.
See the SimpleStream example in http://faq.javaranch.com/java/CodeBarnServlets for how to stream binary data to a client. As I said, there's no guarantee that the client will display the PDF in a browser window (or any window, actually).
Hi Ulf,
Thanks for the prompt reply.
However I have another problem. I cannot invoke JSPs/Servlets from my application as it does not support .
So is there any other way of streaming other than JSPs or servlets.