...
Congratulations, you now have TermWeb connected to your PostgreSQL database.
jdbc:postgresql://localhost:5432/termweb
<Resource name="jdbc/TermWebDS" auth="Container" type="javax.sql.DataSource" username="postgres" password="postgres123" driverClassName="org.postgresql.Driver" url="jdbc:postgresql://localhost:5432/termweb" maxActive="20" maxIdle="10" validationQuery="Select 1"/>