sandeepcitigori Posted March 9, 2012 Share Posted March 9, 2012 Please tell me the exact process of compiling jasper reports with java program ...If posible please send me the example files like .java and .jrxml .i will try with your examples and i will build my project accordingly....please try to send some examples and links etc . Link to comment Share on other sites More sharing options...
augarte Posted March 9, 2012 Share Posted March 9, 2012 Hi, Here you have a very helpfull example of how can you compile & fill the report and the export it to different formats. java.dzone.com/articles/java-reporting-part-2Feel free to ask if you have any doubt after reading it ;-)Hope this helps.Regards Link to comment Share on other sites More sharing options...
thangalin Posted March 9, 2012 Share Posted March 9, 2012 Hi, Sandee. Visit http://whitemagicsoftware.com/books/indispensable/ Download the Software (v1.0.0) - it's free. Take a look at com/whitemagicsoftware/report/ReportImpl.javaSee also the attached file for a minimal example of how to create a PDF using JasperReports. You will have to supply your own .jasper file (compiled from a .jrxml file). This presumes a database connection to a local postgresql database is possible. You will have to change the database connectivity to match your database configuration and software.Read the JasperReports API to find out how to compile .jrxml files to .jasper files.--Read chapter 15 of Indispensable, a book on JasperReports, available at:http://www.whitemagicsoftware.com/books/indispensable/ Link to comment Share on other sites More sharing options...
sandeepcitigori Posted March 12, 2012 Author Share Posted March 12, 2012 Thank you soo much for your reply ...And i have one more please give me the process for it ..." We have two reports .... Report1 is giving the output of total departments in a company ... So now i want click on the department number generated from report1 and that should pass as input to report2 and that will give the individual department details ."Please help me in this part.I tried in many ways but i am not getting the exact output.So please please give me the exact process . Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now