I want to insert one image into one pdf using itext. I used getRealPath() to
get the url of the image and it was working perfectly in windows env. But
when we deployed war file at Unix box its bombing saying that image can't be
found. Then i found out that we cant do getRealPath() in war file. I am
literally stuck up with this problem. Can anyone please help me how to take
the path of an image from war file?