Servlet方法介绍

 

public void init(ServletConfig config) throws ServletException {
        this.config=config;
        System.out.println("init...");
    }
    public ServletConfig getServletConfig() {
        return config;
    }

 

posted @ 2023-06-24 16:28  Karlshell  阅读(8)  评论(0)    收藏  举报