Hi.
I wonder why the getServletContext() method is not in
Servlet interface.
Additionally, when I looked at the api I realized it is in GenericServlet class and it's actually just a wrapper to the ServletConfig.getServletContext() method.
Shouldn't the getServletContext() method be in Servlet interface???
Just trying to understand the design...
p.s.: I understand that ServletContext() is actually a "ApplicationContext", but anyway, maybe the Servlet interface could have had this method.
[ May 24, 2005: Message edited by: Leandro Melo ]