`
汤姆猫
  • 浏览: 1232 次
  • 性别: Icon_minigender_1
  • 来自: 成都
最近访客 更多访客>>
社区版块
存档分类
最新评论
文章列表
最近使用了jasperreports作为项目的报表工具,故写下此文以作备忘。项目采用的struts2版本为2.2.1,jasperreports版本为3.7.2。jasperreports以struts2插件的方式整合到项目中。本文只是一个简单的例子。 1. 首先,需要在项目中加入以下的jar包 其中poi.jar不是必需的,如果你要导出excel,可以加上此包。(注:所有jar包可以通过struts2-2.2.1以及ireport安装包获得) 2. 接下来是web.xml的配置,使用最基本的配置即可: <?xml version="1.0" encoding=&qu ...
Global site tag (gtag.js) - Google Analytics