docs: protected String insertContextStrings(String path) {
  
          // create a new macro resolver
          CmsMacroResolver resolver = CmsMacroResolver.newInstance();
  
          // add special mappings for macros
          resolver.addMacro("CONTEXT_NAME", OpenCms.getSystemInfo().getContextPath());
          resolver.addMacro("SERVLET_NAME", OpenCms.getSystemInfo().getServletPath());
  
          // resolve the macros
          return resolver.resolveMacros(path);
      }