Win a copy of Classic Computer Science Problems in Swift this week in the iOS forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Images don't show  RSS feed

 
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.
 
Author and ninkuma
Marshal
Posts: 66607
161
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.
 
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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!