> 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.  

I assume these are your bean classes. These should be
put under the WEB-INF/lib directory rather than the
classes directory. The classes directory is ment only
for un-jarred servlet classes that have been declared
in the web.xml file.

> The classpath does *not* contain the WEB-INF/classes
> directory.
you donot have to specify WEB-INF/classes in the
system classpath
 
> 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.
Put any servlet jars, beans, and required
non-statndard libraries under the lib folder (like
log4J, or xalan)

cheers
Adi


__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/

Reply via email to