• 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.
 
I am going down to the lab. Do NOT let anyone in. Not even this tiny ad:
Thread Boost - a very different sort of advertising
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!