It has been some time since I had to make Java / JSP ...
I have a java class in WEB-INF / classes / MyClass.java The build in Netbeans is successful, and I see MyClass.class in the classes folder.
On my jsp page I have
<%@ page import="MyClass" %>
Tomcat says import cannot be allowed ...
I tried putting MyClass in a package (WEB-INF / com / MyClass) and then import the package into a Jsp file. Import no longer causes an error, but I cannot create a MyClass object, says the type is not allowed ...
What am I doing wrong here?
All help is appreciated! :)
Piero source share