I have been working with struts2 and jasper report, and by following the document--"Apache Struts2 Documentation Jasper Reports Plugin(http://struts.apache.org/release/2.1.x/docs/jasperreports-plugin.html)"--I have succeeded to use the jdbc connection as data source to generate a report, but I encountered a problem, the jdbc connection cannot be closed manually in the action class, and not closed automatically by also. What can I do about that? Do I have to alter the source code of to achieve that? Thanks!