File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • 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
  • 0
  • 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
  • 0
  • 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
  • 0
  • 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: 2851
10
Fedora Firefox Browser Java
  • 0
  • 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
  • 0
  • 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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic