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. I wanna to name ,subject and marks of every subjec
View Tutorial          By: raveesh yadav at 2012-10-13 19:56:47

2. its gud 2 learn java sim prog
View Tutorial          By: Rakesh at 2009-10-04 03:47:01

3. the above code works fine for. May someone help wi
View Tutorial          By: T.T at 2012-02-23 06:22:36

4. nice tutorial man !
View Tutorial          By: yash at 2012-11-10 05:08:31

5. very good example...........
View Tutorial          By: debojit dey at 2010-07-20 15:48:38

6. Thank you, I need exactly this; cheers :)
View Tutorial          By: Lang at 2011-04-08 09:33:24

7. it provides manna in the studies of java to me
View Tutorial          By: aravinden at 2011-12-27 08:18:18

8. Simple and easy code..........
View Tutorial          By: mandalson at 2011-12-24 06:50:38

9. i am getting force closed with this code...

View Tutorial          By: kamlapati at 2011-07-16 06:06:31

10. hi i want to know
can i sent picture of si

View Tutorial          By: Nauman Khalid at 2011-12-10 11:50:39