I want to display a static html file in a vaadin view. I use the com.vaadin.server.FileResource class to this like under:
String basepath = VaadinService.getCurrent().getBaseDirectory().getAbsolutePath();
FileResource resource = new FileResource(new File(basepath + "/WEB-INF/my_file.html"));
But I dont know what can I use this.?