This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: ConnectionPool not found
 
Similar Threads
How to set jar files in eclipse europa?
error importing java.rmi.Registry and Server
Chap.10 Development , Q5 pg813 : not understood answer and cannot run code
running java
how to compile?