父類的init(ServletConfig)有處理獲取ServletContext對象的引用,在doGet/doPost/service方法方法中才能夠通過getServletContext()方法獲取到SeverletContext對象!
確定! 回上一頁