You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if ((request.getParameter("entrar")!=null)&& (request.getParameter("log")!=""))
{
if ((request.getParameter("log")!="") != (request.getParameter("pas")!=""))
{
%>
<p id="nota">login y password no deben estar vacíos</p>
<%
} else {
String JDriver = "sun.jdbc.odbc.JdbcOdbcDriver";
String connectDB="jdbc:odbc:porra";
Class.forName(JDriver);
Connection con = DriverManager.getConnection(connectDB);
Statement stmt = con.createStatement();
String sql= "select idJug,nombre,login,password from usuarios where login='"+request.getParameter("log")+"' and password='"+request.getParameter("pas")+"'";