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. How to download a pdf file from the server and sav
View Tutorial          By: harsha at 2013-08-12 07:52:22

2. This example is very useful....Thanks for your sha
View Tutorial          By: raji at 2015-05-22 07:19:07

3. its good
View Tutorial          By: sumanth at 2010-04-10 20:10:00

4. This article is not correct. Two-way synchronizat
View Tutorial          By: Travis at 2015-07-14 12:28:32

5. Thanks alot.. it helped me a lot...
View Tutorial          By: Sushmitha Rao at 2010-06-02 02:39:51

6. Nice one , Compailed no Errors ... but when execut
View Tutorial          By: Diamant at 2012-12-04 00:17:11

7. Thanks...
View Tutorial          By: SHUVO at 2015-07-01 21:20:47

8. really understandable
but 'm expecting with

View Tutorial          By: rajkumar at 2008-03-14 03:53:21

9. How to return values when there may be muliple row
View Tutorial          By: asd at 2013-11-22 01:24:47

10. how to get only the year like 2012
View Tutorial          By: Iguster at 2012-01-27 22:20:32