• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Bear Bibeault
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:
  • Frits Walraven
  • Himai Minh

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

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 362
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Bartender
Posts: 2856
10
Firefox Browser Fedora Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
I think he's gonna try to grab my monkey. Do we have a monkey outfit for this tiny ad?
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic