Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Image Loading  RSS feed

 
Thameem Aliyar
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I had done a demo application using jsp. And i tried to display some images which is located in the server folder. It has done by using the IP address path of that image folder.. It has been success full in IE. But it doesn't get displayed in chrome and Mozilla. What's the problem with the functionality. Kindly send me a feasible solution.
Thanking you in advance.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66141
141
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You should be using server-relative addressing fro you resources (like images) that start with the context path. See the JspFaq for more details.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!