<?xml version="1.0" encoding="UTF-8"?> <Context path="/Hello" docBase="D:\workspace\scxy_xj\WebRoot" debug="0" privileged="true"> <Resource auth="Container" driverClassName="org.postgresql.Driver" maxActive="20" maxIdle="10" maxWait="-1" name="jdbc/PostgreSQL" password="123456" type="javax.sql.DataSource" url="jdbc:postgresql://localhost/dbname" username="postgres"/> </Context>