I am using PD4ML jar file to conve开发者_C百科rt my HTML code into PDF file. And I am saving the file. Now the thing is I want to show that file directly after saved that file to user. Please suggest me.
Thanks, Vara Kumar PJD
Two possibilities:
- Call Acrobat with the file. You don't have to know where it is installed, if you use cmd as a wrapper to start the acroread from java.
- Use your own PDF rendering library, like PDFOne.
You can launch a browser window with the full path of the PDF file as the URL - the browser should in turn kick off acroread to view the file. We use a barebones browser launcher by Dem Pilafian - here is the URL:
http://www.centerkey.com/java/browser/
Hope this helps.
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论