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. Hi
after i dl the javacomm20-win32.zip and

View Tutorial          By: jm at 2010-05-31 01:42:28

2. Your article is very useful.

But I

View Tutorial          By: Me at 2013-04-07 10:20:00

3. Wow, damn nice. It does everything, and the script
View Tutorial          By: Ethan Windsor at 2012-06-14 13:47:39

4. Thanks,It worked.I tried with Microsoft Visual C++
View Tutorial          By: gaurav at 2013-12-04 08:27:35

5. Hi
I can compile it
root$ javac -cp

View Tutorial          By: Tebogo Modiselle at 2014-10-31 08:47:09

6. Its working ,but it overwrite the old one when run
View Tutorial          By: venkat at 2012-09-17 09:38:53

7. A more complete description of the common pitfalls
View Tutorial          By: Phil at 2012-11-25 02:06:49

8. this article is excellent....solve all my doubt re
View Tutorial          By: pramodk at 2011-07-18 14:22:18

9. hey pls tel me, what is the advantage of method ov
View Tutorial          By: divya at 2013-08-27 14:20:22

10. hi friends,
can i write the same jdbc code

View Tutorial          By: mahesh at 2012-01-05 05:09:38