[unsolved] I need to display my reports in my web application

Hello ,

I need your support please.
I need to display the reports that i did using finereport in my java web application : developed in Java in eclipse
To run my java application i'm using tomcat server.
How can i display my reports when i run this application?

Thank you in advance

I know the answer Seeking the best answerBest Answer worth10 money ,3 people have answered
Reply

Use magic Report

Recommends3

Jump to specified page
2 #
Sybil
Post time 2020-6-9 14:35:34 | Show the author posts only
HI,ghofrane:

         If you want to deploy the report project to an existing web project, you can refer to this document:
         http://doc.fanruan.com/display/VHD/Embedded+Deployment
Reply
3 #
ghofrane1
Post time 2020-6-29 23:19:21 | Show the author posts only
Hello ,

Thank you for your response , I still have the issue
Could you please see in details what i did :
- in my java web project and under the folder WEB-INF i paste the 7 folders : assets, assist,classes,embed,lib,plugins and reportls
-then in html file i added a section :
<section>
    <iframe src="http://localhost:8080/faurecia-monitoring/decision/view/form?viewlet=MDM%2BDEV%252FWFs%2Bstatus%2Brates.frm" frameborder="0" style="width: 100%; height: 800px;">
    </iframe>
</section>
But When i start the server it's not working.
Is tehre a missing step and what could be my mistake.

Please refer to my attached  Screenshot.

Thank you for your advice

Capturefine report.PNG (47.39 KB, Downloads: 187)

Capturefine report.PNG
Reply
4 #
Sybil
Post time 2020-7-1 10:26:01 | Show the author posts only
HI,ghofrane:

Based on your feedback, you need to confirm the following questions
1-Can the web project start successfully? This is a prerequisite
To detect whether the deployment is successful: restart Tomcat, open the browser, enter in the address
http:/ip:port/project name/decision, if you can successfully enter the page shown in the figure below, it means that the FineReport application integrates the Web application and deploys the Tomcat server successfully;


If you cannot access the decision platform by accessing http:/ip: port/project name/decision, it means that your project has not been successfully deployed.
You can copy tools.jar under %JAVA_HOME%/jdk/lib to the deployed server For details, refer to: Tools.jar-https://help.finereport.com/doc-view-2475.html introduced in server deployment.

2- After the server starts successfully, please check the storage location of the html page, the html file needs to be placed in the WebContent directory

3-Src in iframe, you can use / directly, without transcoding
<iframe src="http://localhost:8080/faurecia-monitoring/decision/view/form?viewlet=demo/Dashboard/Smart City.frm" frameborder="0" style="width: 100%; height: 800px ;">
</iframe>

The final effect is as follows

Reply
You have to log in before you can reply Login | Register


0following

0fans

1Posts

Post