I am using ff4j web library for toggling in my Java web application. The URL for the web console resolves to localhost:8443/bat/ff4j-console However static resources in the html resolve to localhost:8443/bat/static/images. How to find static resources at localhost:8443/bat/ff4j-console/static .
In essence, how to use relative path. I have configured ff4j servlet in web.xml
Could you please confirm that you use the 1.6 version. I put here a sample of XML definition (web.xml) as you mentionned it.
Then please note that the URL MUST HAVE A SLASH at the end.
Your URL is not
localhost:8443/bat/ff4j-console
butlocalhost:8443/bat/ff4j-console/
This should resolve the static not found and display all pictures.
This a issue of Thymeleaf and definition in XML (look you put /*). If you have ideas you're welcome it's defined here https://github.com/clun/ff4j/blob/master/ff4j-web/src/main/java/org/ff4j/web/FF4jServlet.java#L172-L182