Classes not seeing each other in JSP
In a tomcat JSP application I have this directory layout: webapps/ myProjectName/ index.jsp WEB-INF/ classes/ mypackage/ class1.java class2.java I'm trying to compile class1.java which references class2.java. It's coded in a form sort of like this: package mypackage; public class class1 extends class2 {} and class2 looks like this: package mypackage; public class class2 {} however, I get an error on class1 saying that class2 cannot be found. First I compiled class2, which compiled just fine, but when I tried to compile class1 it failed, saying that class2 couldn't be found. I tried adding the