Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Relative url problem in struts 1.1

 
yogi maheshnath
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am using struts 1.1,there is images folder for all the images in my project.
when I am using below code,image is displaying in google chrome,but not in mozilla or
if i use " <table background="../images/image2486.gif">" ,it works in IE.


So,to get rid of above problem i have define context-param in web.xml with Variable Site and given value in web.xml
an then used follwoing code,but still problem is there


Please help me in solving this Problem
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This has nothing to do with Struts.

The "background" attribute is non-standard; I wouldn't recommend using it.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic