context配置
<Host name="localhost" appBase="webapps" unpackWARs="true" autoDeploy="true" xmlValidation="false" xmlNamespaceAware="false"> <Context path="/mis2011"><Loader delegate="true" /><Resource name="mis2011" auth="Container" type="javax.sql.DataSource"username="root"password=""driverClassName="com.mysql.jdbc.Driver"url="jdbc:mysql://localhost:3306/..."maxActive="30"maxIdle="5"maxWait="50"minEvictableIdleTimeMillis="4000"timeBetweenEvictionRunsMillis="5000"/> </Context></host>