tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Luís de Sousa <luis.a.de.so...@gmail.com>
Subject Tomcat can't find Java Beans
Date Thu, 06 May 2010 13:54:13 GMT
Hello everyone,

Tomcat 6.0.20 on Ubuntu 9.10. I'm trying to deploy simple web
applications that either use beans or servlets. I'm now down to very
simple examples like this one:

http://www.roseindia.net/ejb/introduction/javabean.shtml

This is basically a html file, a jsp file that deals with a post and a
java bean. I'm compiling the java files and copying the resulting
.class into WEB-INF/classes, using the directory structure to match
the package names.

Invariably, when the bean is called Tomcat returns an error saying the
bean is invalid (see example below). It seems that Tomcat isn't
finding the .class files; do I need to configure something for Tomcat
to find the beans? I though that for Tomcat 5 and beyond that wasn't
needed.

Thanks for your help,

Luís

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message