FineReport 数据决策系统

首先是效果图,使用tomact访问

集成到tomact

1、打开Finereport报表系统

finereport

点击报表平台管理,进入到fineReport自带的demo系统

finereport内置服务器

2、集成(很简单)

内置的FineReport报表系统的访问路径为http://localhost:8075/WebReport/ReportServer?op=fs,结合tomact的访问路径http://localhost:8080/index.jsp,tomact默认访问的是webapps/ROOT目录下的文件

finereport内置服务器

对比两个文件的目录,可以看出FineReport访问的是WebReport文件。
tomact默认访问的是webspps目录下的文件,所以将webReport文件夹放到tomact的WebApps目录下。
最后将FineReport的lib目录下的jar包添加到tomact的lib目录。

3、访问

启动tomact,通过tomacy,访问http://localhost:8080/WebReport/ReportServer,进入到画面:

finereport内置服务器

然后就按照正常的web项目来进行操作,删除finereport自带的模板,编写自己的项目。之后将模板添加到tomact/webapps/webReport/WEB-INF/reportlets 模板文件夹下即可。

Finereport没有注册的话,最多能够添加两个模板,访问次数也有限制…………..

猜你喜欢

转载自blog.csdn.net/qq_30009669/article/details/73457762