There is no getServletContextName() method on Servlet, only on ServletContext. There is no API support for getting a servlet's display-name. API support exists only for getting the display-name of a ServletContext.
Jan
[Message sent by forum member 'jluehe' (jluehe)]
http://forums.java.net/jive/thread.jspa?messageID=239603