onsdag 1 juni 2011

Loading an image from the nsf

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.

Thanks
Fredrik

Inga kommentarer:

Skicka en kommentar