Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
The moose likes JSP and the fly likes ConnectionPool not found Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "ConnectionPool not found" Watch "ConnectionPool not found" New topic
Author

ConnectionPool not found

satya sahu
Ranch Hand

Joined: Mar 26, 2003
Posts: 97
Hi all,
In one program i am importing javaservlets.jdbc.ConnectionPool package. While compiling the program is giving error stating the package not available. I am using J2sdk 1.4 and oracle 8 personal edition in windows 98. Can anybody tell me what i have to do to solve this problem. Thanks in advance.
Amol Desai
Ranch Hand

Joined: Jan 29, 2003
Posts: 82
Hi,
You need to have javaservlets.jdbc.ConnectionPool class in your classpath. If the jar file contains that class, place the jar file in your classpath
-Amol
satya sahu
Ranch Hand

Joined: Mar 26, 2003
Posts: 97
How do i set that classpath??
Rangarajan Suresh
Ranch Hand

Joined: Jan 08, 2002
Posts: 50
Originally posted by satya sahu:
How do i set that classpath??

You can put the compiled class (with the package structure) in your
webapplication's WEB-INF\classes folder.
i.e put your ConnectionPool class in, %YOURAPPHOME%\WEB-INF\classes\servlets\jdbc\
where YOURAPPHOME is the your web application directory
Rangarajan Suresh
Ranch Hand

Joined: Jan 08, 2002
Posts: 50
Originally posted by satya sahu:
How do i set that classpath??

You can put the compiled class (with the package structure) in your
webapplication's WEB-INF\classes folder.
i.e put your ConnectionPool class in, %YOURAPPHOME%\WEB-INF\classes\servlets\jdbc\
where YOURAPPHOME is the your web application directory
 
Have you tried LearnNowOnline? http://www.learnnowonline.com/
 
subject: ConnectionPool not found