Hi!
I'm trying to learn about javavweb application project.(Student Login project)
I have login page created in jsp file.
servlet page connected.
how to move next page in jsp file.loginsucessful i am created but page not found..
//java compiler level does not match the version of the installed java project facet.// my error massege.
//This is my code
package studentlogin; import java.sql.Connection; import java.sql.DriverManager; import java.sql.ResultSet; import java.sql.PreparedStatement; import java.sql.SQLException; public class Loginfirst { public boolean insert(User user) throws SQLException { Connection con=null; boolean result=false; try { Class.forName("Oracle.jdbc.driver.OracleDriver"); con=DriverManager.getConnection("jdbc:oracle:Comforters24:thin:@localhost:1521:newconnectionn","system","system"); String query="Insert into login(UserName,Password) value(?,?)"; PreparedStatement pst=con.prepareStatement(query); pst.setString(1, user.getUserName()); pst.setString(1, user.getPassword()); ResultSet rs=pst.executeQuery(); result=rs.next(); } catch (ClassNotFoundException e){ e.printStackTrace(); return result; } return result; } }