Html resources with css and js

Hi Support,
I tryed to include in my xml screen an html file with html component.

In Xml I add this row

   <html id="staticHtml" file="META-INF/resources/html/file_es.html" />

I created in resources “html” folder and I created inside this tree files:
file_es.html, style.css, script.js.

In my html file I have also this code:

     <link rel="stylesheet" type="text/css" href="META-INF/resources/html/style.css">

     <script  src="META-INF/resources/html/script.js"></script>

If I open in browser my html file, from folder, all It’s loaded correctly and css and js are ok.

If I start my application Jmix and I load my page I see html component without style css and without js function.

Is It a problem of path or Is It no possible to display correctly this kind of html inside html component?

Thank you for response

Hi,

The Html component is designed to display a simple HTML markup, not a HTML pages. It inserts HTML content into page, and as you know, you cannot have <html> inside <html>. For creating new components, take a look at the Creating Components documentation.

Regards,
Gleb