A. web.xml B.index.html文件 C. WEB-INF文件夾 D. classes文件夾
A. 在創(chuàng)建自己的Servlet時候,應(yīng)該在初始化方法init()方法中創(chuàng)建Servlet實例B. 在Servlet生命周期的服務(wù)階段,執(zhí)行service()方法,根據(jù)用戶請求的方法,執(zhí)行相應(yīng)的doGet()或是doPost()方法C. 在銷毀階段,執(zhí)行destroy()方法后系統(tǒng)立刻進行垃圾回收D. destroy()方法僅執(zhí)行一次
A. init() B. doPost() C. destroy() D.service()