Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
manu sampath
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 362
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2856
10
Fedora Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"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.
 
manu sampath
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Evil is afoot. But this tiny ad is just an ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!