udit Posted February 7, 2007 Share Posted February 7, 2007 I just started using NetBeans a week back , and also iReport just today. I have kind of got the feel of both these user-interfaces ... I was able to generate files/sql querie's output using iReports. My Doubt was that, now iReport creates a .java file of my Report(i.e after i compile it and run it).This java file has no "MAIN" method. How can i use the same file in Netbeans to integrate it with the project i am working on. do i use the .jrxml file instead of the .java file Please advise/help me step wise. How will me Project(in NetBeans) call this iReport/JasperReport for generation and printing Just in case:my email:udit.patel@rediffmail.com Post edited by: udit, at: 2007/02/06 17:41Post edited by: udit, at: 2007/02/06 17:44 Link to comment Share on other sites More sharing options...
udit Posted February 7, 2007 Author Share Posted February 7, 2007 the file that i was to attach [file name=New_Text_Document.txt size=8289]http://www.jasperforge.org/components/com_joomlaboard/uploaded/files/New_Text_Document.txt[/file] Link to comment Share on other sites More sharing options...
udit Posted February 7, 2007 Author Share Posted February 7, 2007 the file that i was to attach [file name=New_Text_Document-255b36e00a5c6b4da53cb78dc9ea59b6.txt size=8289]http://www.jasperforge.org/components/com_joomlaboard/uploaded/files/New_Text_Document-255b36e00a5c6b4da53cb78dc9ea59b6.txt[/file] Link to comment Share on other sites More sharing options...
udit Posted February 7, 2007 Author Share Posted February 7, 2007 the 2nd file .jrxml [file name=demo.jrxml size=5031]http://www.jasperforge.org/components/com_joomlaboard/uploaded/files/demo.jrxml[/file] Link to comment Share on other sites More sharing options...
Gajanan Posted February 8, 2007 Share Posted February 8, 2007 u can use direct .jasper file its a compile file in ur jsp no need to compile using this file u can access all the data Link to comment Share on other sites More sharing options...
udit Posted February 9, 2007 Author Share Posted February 9, 2007 Thanks .. i got it .. now what if i want to compile the file generated by iReport which is in .jrxml format i used the command jasperCompilemanager and the compler wasn't working .. so i directly used the "fill" method but the file that i used as source was a .jasperfile and it worked perfecty .. Link to comment Share on other sites More sharing options...
angopal Posted February 12, 2007 Share Posted February 12, 2007 Hi, Can u pls explain how to integrate the jasper file with jsp page, i have taken output from ireports and i am having the jasper file, can u pls help me out. thanksGopal Link to comment Share on other sites More sharing options...
udit Posted February 15, 2007 Author Share Posted February 15, 2007 tell me exactly where you are getting stuck. I'll be able to help you then. From what i understand u have to take that .jasper file, and put it into the project folder of netbeans. The project folder is the current project u are using in netbeans. U need to get the JasperReports .Jar from the Download section. Need to know the exact problem .. Link to comment Share on other sites More sharing options...
angopal Posted February 17, 2007 Share Posted February 17, 2007 Hi, Actually I am having jrxml file taken from ireports, and now i want to integrate with my jsp code that to take a print with one click submit button, can u pls assist me how to do this, thanks in advance, 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