Okay -- I can't quote the source, but I read recently that this is a Tomcat
bug.
If you put .class files into tomcat's WEB-INF\classes directory they go into
an "unnamed package" and then can't be found when they're needed.
Put your classes into a package -- put the package hierarchy in
WEB-INF\classes and then it will work.
EG. if you put a class DoIt into a package named mine
WEB-INF\classes\mine\DoIt.class
-----Original Message-----
From: Sampige, Srinivas [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 18, 2001 11:15 AM
To: '[EMAIL PROTECTED]'
Subject: RE: JSP's not finding classes in WEB-INF
If you have just .class files then your JSP should work after placing those
classes under WEB-INF/classes .But if you classes are in a .jar file then
place them under WEB-INF/lib . Hope this helps
-srinivas
-----Original Message-----
From: Will England [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 18, 2001 10:54 AM
To: [EMAIL PROTECTED]
Subject: JSP's not finding classes in WEB-INF
Greetings!
Ok - running Tomcat 3.2 on SunOS 2.7, with Java 1.2.
I have a working application with servlets and JSP pages running under
Tomcat 3.1. I'm trying to port it to 3.2.
However, every time I hit a JSP page, it gives a 500 error about how it
cannot find classes to compile. Those classes are located in the WEB-INF
directory, under the /classes folder.
The classpath does *not* contain the WEB-INF/classes directory.
If I hard-code the WEB-INF/classes directory into the classpath, they
work. However, I do not want to do this.
What is the problem, and how can I resolve it?
I have tried settiing the environment variables TOMCAT_HOME and JAVA_HOME,
and moving tools.jar into TOMCAT_HOME/lib.
Thanks for any tips or pointers!
Will
--
/~>'find `funny quote`': Command not found; humor not installed.
1986 Concours 72,xxx 1982 Maxim 12,xxx (For Sale!) CDA #00046
Overland Park, KS [EMAIL PROTECTED] PCS: 316-371-FOAD
http://will.mylanders.com/