Eu não consigo achar o erro desse codigo, alguem pode me dizer?
<%@include file="../WEB-INF/jspf/acesso.jspf"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Redimencionando...</title>
</head>
<body>
<% if (request.getParameter("cbNivel").equalsIgnoreCase("Adm")) {%>
<sql:query var="rsLog" dataSource="${con}">
SELECT us.nivelUsuario FROM Usuario us
LEFT JOIN Administrador adm ON (us.cpfUsuario = adm.Usuario_cpfUsuario)
WHERE adm.senhaAdmin = '<c:out value="${param['txSenha']}" />' AND
adm.logAdmin = '<c:out value="${param['txLogin']}" />'
</sql:query>
<% } else {%>
<sql:query var="rsLog" dataSource="${con}">
SELECT us.nivelUsuario FROM Usuario us
LEFT JOIN Pai pai ON (us.cpfUsuario = pai.Usuario_cpfUsuario)
WHERE pai.senhaPai = '<c:out value="${param['txSenha']}" />' AND
pai.logPai = '<c:out value="${param['txLogin']}" />'
</sql:query>
<% }
if (request.getParameter("rsLog").equalsIgnoreCase("1")) {%>
<h2>Bom Dia Administrador</h2>
<a href="../View/admHome.jsp">Continuar</a>
<% } else if (request.getParameter("rsLog").equalsIgnoreCase("2")) {%>
<h2>Bom Dia Pai</h2><br>
<a href="../View/paiHome.jsp">Continuar</a>
<% } else {%>
<h2>Login ou Senha Incorretos</h2><br>
<a href="../View/index.jsp">Voltar</a>
<% }%>
</body>
</html>
HTTP Status 500 -type Exception report
message
descriptionThe server encountered an internal error () that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: javax.servlet.jsp.JspException: Unable to get connection, DataSource invalid: "java.sql.SQLException: No suitable driver found for jdbc:mysql://localhost/cda"
root cause
javax.servlet.jsp.JspException: Unable to get connection, DataSource invalid: "java.sql.SQLException: No suitable driver found for jdbc:mysql://localhost/cda"
note The full stack traces of the exception and its root causes are available in the Sun Java System Application Server 9.1_02 logs.
Sun Java System Application Server 9.1_02
