• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Image not displayed in the excel opened in a new window

 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic