Class FCBaseServlet

All Implemented Interfaces:
Servlet, ServletConfig, Serializable
Direct Known Subclasses:
AdminServlet, LoginServlet, PageServlet, RawSQLServlet

public class FCBaseServlet extends HttpServlet
A basic servlet that other servlets should extend. Keeps track of servlet loaded/unloaded counts and other statistics. The WebApp servlet should be loaded before this servlet and the appName parameter specified in the WebApp servlet must be the same as specified to this servlet.

Each servlet instantiates and uses it's own SystemLog. This is useful because per servlet/jsp log-levels can be set (via the AdminServlet)

Each servlet also stores an instance of itself in a map containing all servlets in the servletcontext (This map can be obtained via the context attribute of name ContextInit.ALL_SERVLETS_KEY). Within the map, a particular servlet is stored with the key obtained via calling: that_servlet.getClass().getName()

See Also: