Are you using packages for your java code? If not that is your problem.

The default package is NOT the "classes" directory, but "org.apache.jsp", so
if you don't explicitly use a package name, and put your class files in
"classes", Tomcat will not find them.

Use a package name such as com.pk1.pk2 and put a directory structure
com/pk1/pk2/ under classes. Put your class files in pk2.

Ron

-----Original Message-----
From: Barry Martin [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 21, 2002 5:41 PM
To: 'Tomcat Users List'
Subject: Where to locate class files


I am developing an order form to run on Tomcat. The book I have says to
store the class files in <tomcat-install>\webapps\root\web-inf\classes
directory. The html file is located in the root directory and runs fine but
when calling the jsp the error is:Class org.apache.jsp.Spud not found.  Is
this the correct directory to store class files? Any ideas appreciated.

Barry Martin


--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>




--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to