Method getServletContextName()
returns the name of the \"web application\". That means, \"ServletContext\" is nothing but \"web application\". Ok.
API defin
ServletContext implies Context or Runtime environment of servlet. Servlets runs in Servlet containers like tomcat. Servlet container creates and provides runtime environment for the servlet to get executed and it manages its lifecycle. It also holds other information, as :-