How many servletconfig&servletcontexts are formed when ever 10-clients accessing one servlet program
posted 10 years ago
Every web application has exactly ONE instance of javax.servlet.ServletContext ... according to java's specification.
Each servlet has its own ServletConfig object. In other words, there is 1 ServletConfig object for each servlet. Think of ServletConfig as a wrapper around servlet's initialization parameters that are passed into the servlet for its instantiation.