I am trying to call a class (RecordObj) that in turn calls another class (DBConnector) from my getPost() method in my servlet. I placed the two subordinate classes in a package in the directory holding my servlet class. This is my directory structure (Windows NT): jswdk-1.0.1\examples\WEB-INF\servlets\Record My servlet is in servlets\. The compiler will not compile my servlet because it cannot find the other two classes. It *can* find and compile the two subordinate classes with no problem though. I've changed my CLASSPATH to point to servlets\ and ., and I tried putting all three classes together in the \servlets directory, removing their package declarations, but nothing so far seems to help.
posted 16 years ago
I solved it by putting a jar file into jre/lib/ext.