The problem of writing html files with eclipse

when developing a project with eclipse, as shown in figure 1 and figure 2, the top layout is the same. Is there any way to make the top layout written in a top.html, and then each html can directly call the top.html instead of writing it once in every html?
is there perhaps a better way to do this? Please ask the god for advice

11

22

eclipse
eclipse

Mar.06,2021

this has nothing to do with the tool, if jsp, uses include. If it is a framework such as vue, components. If it is es5, use ajax to embed

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1ea4c74-47ae5.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1ea4c74-47ae5.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?