public void init() throws ServletException {
// 获取ServletContext对象
getServletContext().setAttribute("count", 0);
}
这不是2个方法吗,这样写是方法.方法
不都是对象.方法吗
public void init() throws ServletException {
// 获取ServletContext对象
getServletContext().setAttribute("count", 0);
}
这不是2个方法吗,这样写是方法.方法
不都是对象.方法吗