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



Subscribe to Tutorials

Related Tutorials

Program using concept of byte long short and int in java

Update contents of a file within a jar file

Tomcat and httpd configured in port 8080 and 80

Java File

Java String

Count number of vowels, consonants and digits in a String in Java

Reverse a number in Java

Student marks calculation program in Java

Handling Fractions in Java

Calculate gross salary in Java

Calculate average sale of the week in Java

Vector in Java - Sample Program

MultiLevel Inheritance sample in Java

Multiple Inheritance sample in Java

Java program using Method Overriding

Archived Comments

1. providing explanation about the topics is very use
View Tutorial          By: vikram naidu at 2010-06-09 23:40:41

2. i want to learn the java from basics onwards.
View Tutorial          By: vinay at 2010-03-08 22:54:15

3. Legend. Worked first time!
View Tutorial          By: Luke at 2014-12-19 10:10:00

4. Shouldn't you call free() on the allocated memory
View Tutorial          By: Ritchie at 2012-05-09 14:14:49

5. How we print this structure in C++, with nested lo
View Tutorial          By: Hussnain at 2012-01-27 09:19:41

6. nice one dear
View Tutorial          By: pradeep at 2010-02-15 07:00:35

7. Its really helpfull to me thanks................
View Tutorial          By: AKS at 2013-08-10 06:27:43

8. is this code applicable if I used USB GSM Modem? a
View Tutorial          By: Rania at 2010-09-14 12:33:15

9. Out of -1, 0, and 1 which one can I use as second
View Tutorial          By: Sanjay Bhosale at 2011-12-06 13:17:54

10. My question is, from where the name "java&quo
View Tutorial          By: Sreedevi at 2013-05-18 10:41:38