In my case I have two Java EE PrimeFaces applications A and B in a Apache Tomcat server:
Application A needs to display image from a repository contained in B ( let's call it (images/BLOBS/imageThatIWantToGet.png)
I tried to retrieve the absolute path and to give it to a p:graphicImage component like :
<p:graphicImage name="#{absoluteImagePath}"/>
but doesn't work. I tried also :
<img name="../../../B/images/BLOBS/;#{imageName}.png"/>
With no success too. Any Ideas ?