public synchronized ServletHolder addServlet ( String name , String pathSpec , String className ) throws ClassNotFoundException , InstantiationException , IllegalAccessException { return getServletHandler ( ) . addServlet ( name , pathSpec , className , null ) ; }
Add a servlet to the context . If no ServletHandler is found in the context a new one is added .