public static ServletContext getServletContext() {
        ServletContext cnt = servletContext.get();
        if (cnt != null)
            return cnt;
        return def_servletContext;
    }
public static ServletContext getServletContext() {
        ServletContext cnt = servletContext.get();
        if (cnt != null)
            return cnt;
        return def_servletContext;
    }
public static ServletContext getServletContext ( ) { ServletContext cnt = servletContext . get ( ) ; if ( cnt != null ) return cnt ; return def_servletContext ; }
获取 Servlet 执行的上下文

@return Servlet 执行的上下文
获取 Servlet 执行的上下文