0

I have got the Problem that I can't access the images folder in my resources.

After deploying the project I see in Chrome that CSS files are included in javax.faces.resources but images and icons folders are missing.

How can I solve this problem?

This is my project structure

enter image description here

Facet Settings

enter image description here

Artifact Settings

enter image description here

In Chrome, you can see only the CSS folder...

Chrome View

enter image description here

Roy Scheffers
  • 3,832
  • 11
  • 31
  • 36
  • Hi, JSF is in no way responsible for the deployment. Maven or your IDE is. Check those – Kukeltje Oct 07 '18 at 10:59
  • Hi, I posted a Screenshot from my IDE, where I specified the Web Resources Directory Path, is this not enough for JSF? Do I need to specify it in Maven too? – Burak Elalmis Oct 10 '18 at 15:08
  • Jsf cares about runtime locations. https://stackoverflow.com/questions/8367421/how-to-reference-css-js-image-resource-in-facelets-template where and how you put these development time and package them is not so,ethimg jsf cares about... – Kukeltje Oct 10 '18 at 18:26
  • I found the Problem, the css files didn't access to images correctly.. the path was like '../images/..' i changed it too "#{resource['images/..']}" now it works – Burak Elalmis Oct 12 '18 at 15:30

0 Answers0