What would you suggest to me after having good knowledge in java and spring framework? [closed]
Closed 1 min ago.
Linking CSS file to all sub-sites of Spring Web application
So, I stumbled into a problem with my Spring App when linking css into the html files. I put the CSS file in the correct directory (/resources/static/styles/file.css), but it is linked only to the top-level site. For Example, while im working in localhost/index the css is linked correctly. However, when i click a button that searches the database and therefore changes the URL to localhost/index/search, the css is not linked anymore. It’s worth to mention that if i paste the CSS into the HTML directly using the tag, it works just fine in the sub-sites.