0

In a Java EE webapp using servlets and freemarker as view technology, i can't seem to include css files for proper browser render. I'm only using .ftl for view and i path for css files is inside resources/css, being resources inside 'webapp'. Tried with straight html <link... and using JSTL(not fancy)..but page is rendered without css. Where i'm wrong at? Thanks

Aleksandr M
  • 24,264
  • 12
  • 69
  • 143
Arthur Portas
  • 129
  • 1
  • 2
  • 13

1 Answers1

0

Have you tried?

<link href="./resources/css/bootstrap.min.css" rel="stylesheet">

Or you can try using url path to CSS, maybe putting it to some properties file and using it as prefix for each CSS include.

Pavel Polivka
  • 858
  • 4
  • 22