Namrata Kakkar wrote: ResultSet rs=stmt.executeQuery("select * from database1 where Account="+account+" and Password="+password);