Ron Lavery wrote:My application is under a new folder called "Hello" which is under the "webapps" folder. I've gotten JSP to work with this. But now I've created a bean, and need to put it somewhere.
The Hello folder is known as the "context root" in this case. That's an important term to remember.
I've tried all kinds of places and can't get it to work. Also, does this have anything to do with my CLASSPATH environmental variable?
Not in the least. Any environment variable is ignored at run-time by Tomcat. It's only relevant when building from the command line.
Other info: Tomcat 7; bean is in a package called "user".
In that case, the class file must be placed at
WEB-INF/classes/user/, where
WEB-INF is placed in the context root.