JDBC架构:

JavaWeb-04 JDBC

1、数据库驱动是由数据库产商提供

2、JDBC DriverManager:管理不同的数据库驱动

3、Connection:连接数据库

4、Statement与PreparedStatement的区别:

   推荐使用 PreparedStatement,PreparedStatement 是 Statement 的子类,

web.xml中的 / 代表:项目根路径

   http://localhost:8081/Demo_Ajax/

jsp中的 / 代表:服务器根路径

  http://localhost:8081/

 

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-09-16
  • 2021-12-16
  • 2021-06-07
  • 2022-03-04
  • 2022-12-23
  • 2021-06-21
猜你喜欢
  • 2022-02-23
  • 2021-05-23
  • 2021-10-06
  • 2021-11-19
  • 2021-11-17
  • 2022-12-23
  • 2021-12-09
相关资源
相似解决方案