Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Images don't show  RSS feed

 
Palak Shah
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have a JSP page that has some image buttons. I am using struts to control the app. The problem is that some times these images don't show on the page when u goto some other page and comeback.

Does anybody know what could be the issue?

Thanks.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66203
151
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'd suspect that you are not using server-relative urls for the images. You should be.

Also, please read this.
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The standard HTML <BASE> tag is your friend for getting correct handling of images and other resources when creating pages with JSP or servlets.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!