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

Menu