Loading an image from the nsf
Posted by Fredrik Norling
on 1 June,2011
>I’m trying to load an image stored in the .nsf file into an java image.
And then adding this into an IText pdf.
Does anybody know how to load an image in XPages?
I have seen examples using this.getClass().getResourceasStream(XXX)
I don’t get an error using this but I don’t get any picture probably the wrong path.
If so Does someone know what path to use if the image is uploaded as an ordinary image or in the web-inf folder.