Win a copy of Machine Learning Systems: Designs that scale this week in the Scala forum
or Xamarin in Action: Creating native cross-platform mobile apps in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

how to generate a report  RSS feed

 
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys,
Hey i need one small and imp help from u.. Can u plz tell me how to generate a html report through java.. Its very very urgent for me now...
If u have any idea plz tell or give me a link from where i can get a help.

Thanx and regards
Vishal
 
Ranch Hand
Posts: 1490
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you should use any of the reporting engines to create the reports thru java
 
Ranch Hand
Posts: 375
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would do it by using an XML API such as JDOM to write the HTML (yes I know XML != HTML, but the simple <html><body> tags can easily be created using an XML API and output as a .htm file). You could then write tags (Elements) and then set the body text as you need. You could also use XLST, which I think allows you to produce HTML from XML.

Seems like a trival application if you think about it. The complexity is only the presentation of your HTML.
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think you may find this interesting http://jasperreports.sourceforge.net/.

Cheers.
 
Without subsidies, chem-ag food costs four times more than organic. Or this tiny ad:
Rocket Oven Kickstarter - from the trailboss
https://coderanch.com/t/695773/Rocket-Oven-Kickstarter-trailboss
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!