Programming Tutorials

Comment on Tutorial - JSP Example to connect to MS SQL database using Tomcat Connection Pool By Baski



Comment Added by : Amit Nigam

Comment Added at : 2009-06-10 07:35:20

Comment on Tutorial : JSP Example to connect to MS SQL database using Tomcat Connection Pool By Baski
good Article!! you can add context settings in application's in META-INF/context.xml instead of server.xml (if u dont want to restart the server) like following :
<Resource name="jdbc/urDB" auth="Container"
type="javax.sql.DataSource" username="username" password="pass"
driverClassName="com.mysql.jdbc.Driver" url="your URL"
maxActive="8" maxIdle="4"/>


View Tutorial