Hi, I have a question about public void init(SrvletConfig). When is this method invoked? Is it invoked each time a request to the servlet is made? Thanks.
Author and all-around good cowpoke
posted 16 years ago
The API guarantees that init will be called before any request is processed. It is the first method called after the servlet container creates a servlet object, and is only called once. At the other end of the servlet object life-span we have the destroy() method which the servlet container calls before discarding your servlet object. Bill