Connection pool class not found

I have made a connection pool class for servlets and placed in JavaWebserver2.0\classes. This connection pool class is accessing one db.properties file which I have placed in the same directory. I am writting a servlet which accesses this class at runtime and uses takes the connection from this class and return the connection to this class when the database job is over.

I have used this connection pool class successfully using a TestServet servlet which I placed in JavaWebserver2.0\servlets directory. It worked fine.But for my project I am using package wfm so all the servlets are placed in this package. This package is represented by Javawebserver2.0\servlets\wfm directory. So I have placed my real servlet

in Javawebserver2.0\servlets\wfm\abc.java where abc.java is the servlet.

Problem : When I use the servlet within the package it fails complile the error being, doesnot find the connection pool class, where as the TestServlet class compiles and works fine. I could not understand why this is happening because in both the cases the connection pool class is in class path. I have checked the class path so that it includes the connection pool classs, but error persists

Looking for help

Harpreet

[1256 byte] By [harpreet_hira] at [2007-9-26 1:40:53]
# 1
Hi Harpreet,The connection pool java file need to be present in the directory of the package along other javafiles while u compile. Regardschetan
chetan_k at 2007-6-29 2:31:49 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...