I have a jsp file that imports from my package folder inside my classes directory. When I try to use it, i get the "Unable to compile" and "cannot be resolved to a type" errors. Here are my code.
function showInvalid()
{
document.getElementById("invalid").style.display = 'block';
document.getElementById("loginForm").reset();
}
Welcome to FlixNet. Sign In
User Name:
Password:
Invalid username or password
Connector con = new Connector();
con.closeConnection();
%>
this is the error
org.apache.jasper.JasperException: Unable to compile class for JSP:
An error occurred at line: 23 in the jsp file: /index.jsp
Connector cannot be resolved to a type
20: