aspose file tools*
The moose likes Other Java Products and Servers and the fly likes Need help with jasper reports Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Other Java Products and Servers
Bookmark "Need help with jasper reports" Watch "Need help with jasper reports" New topic
Author

Need help with jasper reports

Bharat Sankannanavar
Greenhorn

Joined: Jun 19, 2010
Posts: 26
I have designed the jasper report in iReport and integrated it with jasper server. It works perfectly. But I am facing problem with my next requirment. I need to integrate the same report with my jsp application. I meant I am not getting how to integrate this report in eclipse so that I can access it through one of my jsp pages(By providing the link to the report). Any help will be appreciated. Thanks in advance.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42947
    
  70
I have designed the jasper report in iReport and integrated it with jasper server. It works perfectly.

How are you accessing the report when it's running on Jasper Server?
Bharat Sankannanavar
Greenhorn

Joined: Jun 19, 2010
Posts: 26
@Ulf Dittmer: Still I am not able to access it through eclipse. I have just created .jrxml file.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42947
    
  70
Not sure how you think Eclipse will help with this. Is that supposed to have support for this kind of thing?

My question was: you said the report worked fine. How do you know that? You obviously must have run it somehow - how?
Bharat Sankannanavar
Greenhorn

Joined: Jun 19, 2010
Posts: 26
I run the report in jasper server. There it provided the required output.
I really dont know whether Eclipse will help with this or not, but my only requirement is to integrate that report in my web application.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42947
    
  70
I run the report in jasper server. There it provided the required output.

That's what is of interest here. How, exactly, are you doing that? Tell us lots of details. Is this a web app? If so, the report should have a URL, yes? If so, why can't you link to that in your web app? etc. etc.
Stew Artist
Greenhorn

Joined: May 30, 2014
Posts: 1
I am currently checking out Jaspersoft and in the documentation, they have a section about web service API for the Report Server. I don't know if you have access to the Report Server or not but here is the link to the HTML document. http://community.jaspersoft.com/documentation/jasperreports-server-web-services-guide/v550/introduction
Raju kansas
Greenhorn

Joined: Jun 02, 2014
Posts: 4

When you design an report on iReport tool and compile you will have 2 files (.jrxml &.jasper). Try to create a anchor link in the jsp with the name of the report and write a method in servlet or action to generatepdf by providing the compiled jasper name of the report . Please make sure you copy the .jrxml and .jasper files into the web folder of the project. It should open a PDF report for you. I have attached the code which might help you but you need to tweek it as per your requirements.

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Need help with jasper reports