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. not good not bad...............
View Tutorial          By: mahesh at 2010-10-05 00:45:54

2. This is really helpful, i'm planning to also add a
View Tutorial          By: JhunZhen at 2011-07-09 21:42:32

3. This article is very clear,short and direct to the
View Tutorial          By: N JIBRIN at 2007-03-15 11:48:26

4. i will make to try for rms :)
View Tutorial          By: sebo at 2010-05-20 07:38:28

5. Thanks a ton Ganesh...
View Tutorial          By: Anonymous at 2012-01-25 11:20:40

6. i am newly in java, i want to learn about this and
View Tutorial          By: gelen at 2010-11-23 02:57:15

7. its really helpfull to understand.
View Tutorial          By: rakhi at 2010-08-08 12:45:05

8. the program is writen beautifly and it is easy to
View Tutorial          By: sania cheema at 2009-05-04 12:14:19

9. Can you Please send me the code for movable clock
View Tutorial          By: Rajagopal at 2008-09-29 23:10:57

10. Very good explanation but i need to know how the c
View Tutorial          By: surender at 2011-11-17 11:15:22