jdbc和Servlet簡述

1、jdbc訪問數據庫開發流程web 1)導入jar包sql 2)獲得jdbc驅動數據庫 3)創建和數據庫的鏈接3d 4)執行sql語句,獲取結果xml 5)關閉鏈接blog 2、Servlet接口 1.實現生命週期 1)extends HttpServlet開發 2)配置web.xml或者註解it 2.Servlet生命週期方法 init()、destroy()、service() 3.Http
相關文章
相關標籤/搜索