tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter T. Abplanalp" <...@psaconsultants.com>
Subject Re: Where to locate class files
Date Wed, 21 Aug 2002 22:44:19 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, Aug 21, 2002 at 04:40:30PM -0600, Barry Martin wrote:
> 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.

yes, app specific classes should be in WEB-INF/classes.  from the
error it looks like tomcat can't find the class.  perhaps you
didn't make WEB-INF uppercase.  perhaps you put your class in a
package and didn't import it in the jsp or servlet.  perhaps you
didn't restart tomcat after adding the class to that directory.  if
you provide a little more information, we would be able to help you
more.

- -- 
Peter Abplanalp

Email:   pta@psaconsultants.com
PGP:     pgp.mit.edu
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9ZBfCggA8sH0iRXQRAjfBAKC3DdCIU1uRbI99Q/H50KeWOYpNugCeOSfR
q8PPVeHwfSe7wfK6OlPqtEo=
=mJBg
-----END PGP SIGNATURE-----

--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message