This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes Servlets and the fly likes Configuring packages and class paths Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Configuring packages and class paths" Watch "Configuring packages and class paths" New topic

Configuring packages and class paths

Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
Im pretty new to java but I am currently trying to set up a lib directory under my servlet directory to house utility classes. I also have all my servlets in individual directories under the servlet directory. I have been having many problems getting the servlet to execute when I reference the classes in my lib directory. I believe the problem is my classpath configuration because I am able to get the servlet to run when both classes are in the same directory. I am currently running Netscape iplanet for a web server. Any ideas would be appreciated. Thanks
Michael Hildner
Ranch Hand

Joined: Oct 13, 2000
Posts: 297
How are you setting your CLASSPATH? What's the fully qualified name of you classes, jars, whatever?
I agree. Here's the link:
subject: Configuring packages and class paths
It's not a secret anymore!