I am new to programming web apps with Java Beans and I am having some problems. I am running an apache-tomcat connection and everything seems to be working with the examples and such. I want my web application to be in my /var/www apache document root so I created a new Host tag in server.xml where name = sub.domain.com and document root = /var/www/java_apps/ in this i have two contexts ex1 and ex2 with document root /ex1 and /ex2 well I have no problems accessing these with the URL: sub.domain.com/ex1/index.jsp and sub.domain.com/ex2/index.jsp However, when I try to access a bean in ex2/index.jsp that is located in /var/www/java_apps/ex2/WEB-INF/classes/com/bean/bean.class I get a class not found error. I referenced the bean using: com.bean but it does not seem to find it. Any help would be greatly appreciated.