JSP pages to query the data does not show

8 Yue 28, 2019 11:51:26 com.mchange.v2.log.MLog morning <clinit>
Information: MLog clients using java 1.4+ standard logging .
8 Yue 28, 2019 11:51:26 com.mchange.v2 am .c3p0.C3P0Registry banner
information: Initializing c3p0-0.9.1.2 [built 21-May -2007 15:04:56; debug true; trace:? 10]
8 Yue 28, 2019 11:51:27 com.mchange.v2 am .c3p0.impl.AbstractPoolBackedDataSource getPoolManager
信息: Initializing c3p0 pool... com.mchange.v2.c3p0.ComboPooledDataSource [ acquireIncrement -> 3, acquireRetryAttempts -> 30, acquireRetryDelay -> 1000, autoCommitOnClose -> false, automaticTestTable -> null, breakAfterAcquireFailure -> false, checkoutTimeout -> 0, connectionCustomizerClassName -> null, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, dataSourceName -> 1b60w8na41nh2ud0lipqgn|73a1e9a9, debugUnreturnedConnectionStackTraces -> false, description -> null, driverClass -> com.mysql.jdbc.Driver, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, identityToken -> 1b60w8na41nh2ud0lipqgn|73a1e9a9, idleConnectionTestPeriod -> 0, initialPoolSize -> 3, jdbcUrl -> jdbc:mysql://localhost/students, maxAdministrativeTaskTime -> 0, maxConnectionAge -> 0, maxIdleTime -> 30, maxIdleTimeExcessConnections -> 0, maxPoolSize -> 100, maxStatements -> 200, maxStatementsPerConnection -> 0, minPoolSize -> 10, numHelperThreads -> 3, numThreadsAwaitingCheckoutDefaultUser -> 0, preferredTestQuery -> null, properties -> {password=******, user=******}, propertyCycle -> 0, testConnectionOnCheckin -> false, testConnectionOnCheckout -> false, unreturnedConnectionTimeout -> 0, usesTraditionalReflectiveProxies -> false ]

No error, this appeared not move when clicked queries troubled me most of the morning ....

Always thought it was the beginning c3p0 connect to the database did not succeed, but later found not c3p0 wrong after Junit test, because from the point of view Junit really check out what database

I actually store the data to the JSP scope there is a problem, I stored in the request, but I used to redirect the way, something inside so request to the JSP will be no, into storage in the session just fine the method of forwarding the request or with

Guess you like

Origin www.cnblogs.com/heavensward/p/11423337.html