Is it still possible to serve files from an external folder with Glassfish 4 and the alternatedocroot_n property?
In my web.xml file I have :
<context-param>
<param-name>alternatedocroot_1</param-name>
<param-value>from=images/* dir=/web/files/</param-value>
</context-param>
And then in an xhtml view I have :
<h:graphicImage name="/images/#{item.filename}"/>
But it returns a 404 error.