I wrote some code as a Java Servlet and now I am trying to convert it to a JSP. I wrote a class in a separate file which I was using, and I can't figure out how to get the JSP file to recognize the class. I guess it has something to do with importing. I gave the class a package (package mypackagename;
) name and I tried using <%@ page import="mypackagename"%>
but I get an error:
The import "mypackagename" cannot be resolved