code: public void importResources(String importFile, String importPath) throws Exception {
  
          CmsImportParameters params = new CmsImportParameters(
              OpenCms.getSystemInfo().getAbsoluteRfsPathRelativeToWebInf(importFile),
              importPath,
              true);
  
          OpenCms.getImportExportManager().importData(
              m_cms,
              new CmsShellReport(m_cms.getRequestContext().getLocale()),
              params);
      }
docs: Imports a resource into the Cms.<p>
  
  @param importFile the name (absolute Path) of the import resource (zip or folder)
  @param importPath the name (absolute Path) of folder in which should be imported
  
  @throws Exception if something goes wrong