File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other Languages and the fly likes Is it possible to pass Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Languages » Other Languages
Bookmark "Is it possible to pass "HTML Page" as a parameter to the jasperreport" Watch "Is it possible to pass "HTML Page" as a parameter to the jasperreport" New topic
Author

Is it possible to pass "HTML Page" as a parameter to the jasperreport

manu sampath
Greenhorn

Joined: Oct 16, 2008
Posts: 7
Hi all,

How to pass a page (html) as a parameter to the jasper report. I have seen in so many examples they use to give the queries which will get the data from the database (using JRDataSource) and print the same.

Currently a html page is displaying the name of the person and graphs corresponding to him. I want the same to printed in PDF format. So is it possible to print the same page by passing it as parameter to jasper report.

Please help me.


Thanks
Manohara K M
Gerardo Tasistro
Ranch Hand

Joined: Feb 08, 2005
Posts: 362
google PD4ML I've used it and it works great to convert HTML to PDF.

HTML can't be passed as a datasource to a report
manu sampath
Greenhorn

Joined: Oct 16, 2008
Posts: 7
Gerardo Tasistro wrote:google PD4ML I've used it and it works great to convert HTML to PDF.

HTML can't be passed as a datasource to a report


Thank You very much
Amit Ghorpade
Bartender

Joined: Jun 06, 2007
Posts: 2716
    
    6

"manohara k m " please check your private messages for an important administrative matter. You can check them by clicking the My Private Messages link above.


SCJP, SCWCD.
|Asking Good Questions|
manu sampath
Greenhorn

Joined: Oct 16, 2008
Posts: 7
Hi Amit Ghorpade ,

I have checked the private message and changed the display name according to JavaRanch naming policy. Thanks for reminding that.


Thanks and Regards
Manohara Mahadevappa
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Is it possible to pass "HTML Page" as a parameter to the jasperreport
 
Similar Threads
Jasper report - ireport but in java class - dynamic report using jasper report api
Jasper report - ireport but in java class - dynamic report using jasper report api
Struts and reports
need help for jasper report printing
Jasper and Struts