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 have a question. So here I have a progress bar,
View Tutorial          By: Nick at 2011-12-06 05:10:19

2. Your script works beautifully. Is there a way to i
View Tutorial          By: JW at 2013-05-08 22:22:44

3. Guys, txtWeb is back with their National Level Dev
View Tutorial          By: rahul.del at 2012-08-16 10:01:09

4. Please tell me how to display the contents of stac
View Tutorial          By: Senthil at 2014-05-21 21:44:05

5. int n = 0;
for (int m = 0; m < 5; m++) {

View Tutorial          By: max at 2011-05-26 09:41:26

6. thanks for providing data which is usefull to begi
View Tutorial          By: jeyakumar j at 2010-07-06 09:46:17

7. it was very useful to me
View Tutorial          By: balaji at 2012-01-09 22:50:25

8. very Good machi.......
View Tutorial          By: Janani at 2013-03-04 06:37:47

9. Hi,

I have a error like the import

View Tutorial          By: manigandavenkatesh at 2015-02-12 05:52:05

10. some of the errors above e.g the jasper exception
View Tutorial          By: Robert at 2013-09-14 23:24:57