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



Ask a Question

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. i need to send some file usin a bluetooth devicem
View Tutorial          By: igle85 at 2012-01-25 06:27:50

2. Why the output list in the wrong order?
View Tutorial          By: Pavel at 2013-02-23 12:05:02

3. can u please help me to read excel sheet in VB
View Tutorial          By: Mohd at 2009-07-05 05:03:11

4. Nice its very good starter
View Tutorial          By: Gajula Mahesh at 2012-10-28 13:33:06

5. Can u please help me to implement traversing forw
View Tutorial          By: Rahi at 2015-09-18 11:12:32

6. thanks for this example
View Tutorial          By: hai at 2011-12-16 05:36:14

7. please somebody tell me how to run this applicatio
View Tutorial          By: black Panther at 2008-04-01 02:08:09

8. please would someone help me create a simple java
View Tutorial          By: christopher at 2012-12-05 00:32:50

9. i get exception NoSuchPortException. i tried on di
View Tutorial          By: harryjoy at 2009-11-22 05:52:48

10. Hi,
What should be done to correct the erro

View Tutorial          By: Raymond at 2011-03-07 08:51:54