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



Related Tutorials

Java program to get location meta data from an image

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

Archived Comments

1. I have loaded allthe 5 java files.But how to imple
View Tutorial          By: devi at 2008-04-01 01:02:28

2. Hi...i know java but little....
give simple

View Tutorial          By: Murshidha at 2012-02-06 09:52:52

3. pretty good explanation
View Tutorial          By: Prithwi at 2009-11-26 07:28:33

4. I need one help how to update particular column da
View Tutorial          By: santhosh.s at 2015-01-22 15:09:33

5. Marvelous Explanation. The whole concept is clear
View Tutorial          By: Rohit at 2009-12-01 19:43:14

6. Hello MR, I was running sms package to send sms, a
View Tutorial          By: Ronized at 2008-12-29 16:53:33

7. I need more example........
View Tutorial          By: niyaz d at 2011-02-20 23:44:56

8. hi..i can send 4 or 5 sms per mnt..is there any wa
View Tutorial          By: rahul at 2011-02-11 00:17:51

9. I've been struggling with this for a while now. Th
View Tutorial          By: Deb at 2010-10-14 11:36:33

10. hi,

i have a problem. I have the ti

View Tutorial          By: Felipe at 2010-02-18 05:03:51