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