shouen 2011-01-26
只要在配置文件applicationContext.xml的
<beanid="dataSource"
class="org.apache.commons.dbcp.BasicDataSource"destroy-method="close"
p:driverClassname="com.mysql.jdbc.Driver"
p:url="jdbc:mysql://192.168.0.102:3306/sheddb?useUnicode=true&characterEncoding=utf8&autoreconnect=true"p:username="pic"
p:password="pic"/>
这段中加上标有红色字体文字