You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by David Haynes <da...@sympatico.ca> on 2003/02/04 20:52:10 UTC

Do I have to set a classpath? If so, how?

Newbie developer here:
 
I have a bean (fooManager) that is sitting in the /WEB-INF/classes
space.
I am referencing it in a jsp as <jsp:useBean id="foo" class="fooManager"
scope="session"/>
 
When I access the jsp, I get a "Cannot resolve symbol" for fooManager.
 
I thought that the classpath was automatically populated with classes
from the /WEB-INF/classes directory.
Do I need to generate a jar? Set up something in the web.xml?
 
Details:
Tomcat 4.1, Java 1.4
 
Thanks!
-david-