Jump to content
We've recently updated our Privacy Statement, available here ×

How struts2-jasperreports-plugin close the jdbc connection?


angkorpeach

Recommended Posts

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!

 

Link to comment
Share on other sites

  • 1 year later...
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...