This is a repost. Does anyone know how to do this? There used to be methods for this in ServletContext (getServlets() and getServletNames()), but they have been deprecated with no replacements. I have a servlet which dispatches to other servlets in the same context through a RequestDispatcher object. I want to provide some "guard-rails" by checking if the class file for the receiving servlet exists in the context. Any direction/advice is much appreciated. TIA Tia