code: public static ActionServlet getActionServlet( ServletContext context )
      {
          if ( context == null ) return null;
          return ( ActionServlet ) context.getAttribute( Globals.ACTION_SERVLET_KEY );
      }
docs: Get the current ActionServlet.
  
  @param context the current ServletContext
  @return the ActionServlet that is stored as an attribute in the ServletContext