This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I am writing contents from a servlet to outputstream with content type as excel. The excel is opened in another window. The excel comes fine. The issue is the images in the excel in not dispayed.
The content I write to the stream is html with xml(that uses excel schema). So the image is represented as <img src="">. The issue seems that since it is open in another window, it is not getting the access to the image file kept inside the application that has a login.
Is there anyway I can display the image in another window itself. Will encodeURL() help. I tried that but still it is not helping. I am not sure if I am using it correctly.