https://github.com/tellh/reportsystem
java后台代码
https://github.com/tellh/reportsystem
Last synced: 12 months ago
JSON representation
java后台代码
- Host: GitHub
- URL: https://github.com/tellh/reportsystem
- Owner: TellH
- Created: 2016-04-04T14:00:02.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-05-16T03:20:52.000Z (about 10 years ago)
- Last Synced: 2025-03-04T23:41:59.281Z (over 1 year ago)
- Language: Java
- Homepage:
- Size: 1.9 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ReportSystem
java后台代码
解决了困扰多久的bug,就是将Connection绑定到ThreadLocal上,并在filter的doChain后面进行释放操作,结果总是不能把Connection释放。我猜想原因
应该是Struts2的filter搞的鬼,它可能开辟一个新线程将请求交给action来处理,如果把释放Connection的代码放到Interpretor上就可以完美释放Connection
了。