MVC三層結構 MVC 模式代表 Model-View-Controller(模型-視圖-控制器) 模式。這種模式用于應用程序的分層開發(fā)。 M ...
//餓漢式: public class Singleton{ private static Singleton singleton =n...
創(chuàng)建filter implements Filter 實現(xiàn)filter 接口 三個方法 init() dofi...
//sql預處理對象 PreparedStatementpst=null; pst=connection.prepareStatement(sq...
1. JSP前臺頁面發(fā)起請求的方式 1)form表單 action 2)a 標簽 傳遞參數(shù)的形...
MVC三層結構 MVC 模式代表 Model-View-Controller(模型-視圖-控制器) 模式。這種模式用于應用程序的分層開發(fā)。 M ...
jdbc連接數(shù)據(jù)庫 添加jar支持 <dependencies> <dependency> <groupId>mysql</groupId> m...
servlet 生命周期 1.加載 2.初始化 3.服務 4.銷毀 創(chuàng)建servlet種方式 實現(xiàn)Servlet接口 繼承GenericServ...
1.JSP 9大內(nèi)置對象 request接收 HttpServletRequest接口的實例 response響應 HttpS...