Description: 1, load the driver Class.forName (" ... ..." ) 2, connect to the database (Connection) Connection conn = DriverManager.getConnection (" database connection URL" , " username" , " password" ) 3, the operation database (CRUD) with Statement, PreparedStatement update the database* insert* update* delete query the database* select 4, close database conn.close ()
To Search:
File list (Check if you may need any files):
002(进阶二)_使用JSP基于数据库完成用户登陆程序\login.jsp
...............................................\login_conf(Statement).jsp
...............................................\login_conf.jsp
...............................................\login_failure.jsp
...............................................\login_success.jsp
...............................................\person.sql
...............................................\注释.txt
002(进阶二)_使用JSP基于数据库完成用户登陆程序