You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Manu Mahajan <ma...@comprotechnologies.com> on 2007/10/19 14:45:07 UTC

[ot] RE: Images

Try removing the / before the image path 

Change this
<html:img page="/img/handicapped.jpg"/>
to
<html:img page="img/handicapped.jpg"/>

-----Original Message-----
From: Prashant Desai [mailto:prashantmdesai@hotmail.com] 
Sent: Friday, October 19, 2007 5:05 AM
To: user@struts.apache.org
Subject: Images


I have some images displayed on my website... the images on the first page
do not get loaded when the page displays for the first time.. you can see it
here... http://www.hapandharpur.com. there are images in the right top
corner. One is a logo and one is a symbol.. Both of those images do not get
loaded when I access the site that is deployed on internet. If I access the
local code(which is my dev env) it opens fine...
 
what could be the problem??
 
This is the tag that I am using.
 
  <logic:present parameter="mName">  <logic:match value="home"
parameter="mName">  <br>  <td valign="top">  <html:img
page="/img/handicapped.jpg"/>  </td>  </logic:match>  </logic:present>
 
Thanks for your help.
 
prashant
_________________________________________________________________
Peek-a-boo FREE Tricks & Treats for You!
http://www.reallivemoms.com?ocid=TXT_TAGHM&loc=us



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org