I created a header (header.html) file to be imported into different pages on my site. It works when I have it only in the WebContent folder, and draws the CSS files, fonts, and images from the Assets folder perfectly. However when I try to import it into a JSP page under the User folder using this method, it doesn't work.
When I move header.html into the User folder, it stops drawing from the Assets folder altogether, and the header just becomes text. I am linking it by:
<link rel="stylesheet" type="text/css" href="assets/css/custom.css">
Also, the User folder and Assets folder are both directly under WebContent.
Thanks in advance!