Can't find classes
I used to run
tomcat 3.X and all i needed to do to get up and running was put my html and
jsp files in Tomcat Tomcat 3.X\webapps\ROOT\WEB-INF and my class files in Tomcat 3.X\webapps\examples\WEB-INF\classes and then access my html/jsp that where using my class files via
http://localhost:8080/myJspFile.jsp . I didn't use any jsp tags, except if I needed to import something.
Example
webapps/root/web-inf/myJspFile.jsp ....
<html>
<% MyClass myClass = new MyClass(); %>
</html>
This isn't working with 4.X.
Here error I get is this:
symbol : class TestDClass
location: class org.apache.jsp.index_jsp
MyClass myClass = new MyClass();
Is there a place that I can put my class files and my jsp files and run things without having to change anything with tomcat, and without having to use packages or tags. And if I do need to use packages, what directory do I put them in, and were to I put the jsp/html files, and do I need to use an import statement in the jsp/html files, and what would that look like.
Thanks,
Keith