I am exploring Java Web development for the first time using Netbeans IDE 8.0.2. To style my pages, I have placed my CSS files in an assets folder located at the same level as WEB-INF under the Web Pages directory. I have added the CSS files using the following code:
<link href="./assets/css/style.css" rel="stylesheet">
I have also attempted:
<link href="assets/css/style.css" rel="stylesheet">
Unfortunately, my pages are rendering without the CSS styles applied. Is there a different method I should use to include them? Or is there something else I need to add?
Any suggestions or guidance would be greatly appreciated. Thank you.