Hi!
This is very usual problem.
In general , CLASSPATH is refer to the set of classes. say, it could be set to
/Lib direcotry or where your *.Jar(set of class files required by the
application is in compressed form) fiels are kept.
In tomcat, you can test your classes putting under the following directory:
/tomcat/webapps/examples/web-inf/classes
if you havc packaged all the classess under one package name, say Demo
keep the class files under the directory
/tomcat/webapps/examples/web-inf/classess/demo
rgds
kalaiselvan
"Dustin M. Hawley" wrote:
> Greetings -
>
> This is my first mail to the list so I hope I don't offend. I am running
> Tomcat 3.2 under Windows NT 4.0
> and I am having trouble running JSP pages that use Java classes. I get a
> 500 error (Internal Servlet
> error) when trying to load them. First of all, tomcat.bat is not building
> CLASSPATH dynamically as it
> should. After Tomcat is running if I check CLASSPATH by typing "echo
> %CLASSPATH%" at the
> command line I get no results. I have tried creating TOMCAT_HOME\classes
> and putting the classes
> there with no luck. Also, in the test tree there are a few JSP documents
> that use classes that do
> not function either. I have also tried setting CLASSPATH staticly myself
> which does not work either.
> This leaves me to wonder if CLASSPATH is the right variable or if it is even
> being checked by Tomcat
> at any time. Basically, I just need to know where to put my classes and
> what I need to do to get
> Tomcat to see them. Everything else under Tomcat seems to be okay.
>
> Thanks in advance,
> Dustin
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]