who can tell me how to config the connection time out in a struts
connectionpool?
i config my connectionpool as below.but connection will be exhausted very
soon.
data-sources
data-source key=testSource
type=org.apache.commons.dbcp.BasicDataSource
set-property property=driverClassName
Struts does not so much provide a connection pool as it provides a way
to load and expose one. The Struts data source controller will
instantiate any DataSource subclass you like and then use reflection to
set whatever properties you specify. Since you are using the Commons
DBCP pool, the best