I know that JEditorPane does not support PDF files as of yet. At least to the best of my knowledge they don't. But here is a question. I am using the iText package in a servlet to display a report in PDF format from a database. This works fine from IE, Netscape, etc. Is there a way to "capture" the pdf file when it comes back to the JEditorPane and write it out to a file and then I could just open it using Runtime.exec()??
Renee Zhang
Ranch Hand
Joined: Sep 10, 2001
Posts: 72
posted
0
Why don't you use JTextPane? It supports pdf file and html file?