I have some helper functions that i put into a class, the class compiles
fine and so do the classes that use it.

But when the jsp beans try to use the helper functions I get a
NoClassDefError finding the helper class.  I am trying to fix this by adding
the path to web.xml file in the web-inf directory.  but it doesn't seem to
work.

Let me draw out how I have it.

the package is com.papa.tools.MyTools;

i have a directory c:\web\orion\javatools\classes\com\papa\tools.

the web.xml file is located in

c:\web\orion\demo\msgboard\webfolder\web-inf

so in that file i added

<classpath>../../../../javatools/classes</classpath>

(go up 4 levels then over)

why doesn't this work? and what can i do to fix it.

Thanks..




Reply via email to