You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by tom tom <j_...@yahoo.com> on 2007/04/03 02:22:53 UTC

why S2 ignored S1 html image tag

Hi,

What is the S2 equivalent for the following

 <html:img >  of the S1.

I used plain <img src= ....>  but the image is not
appearing in my portlet as it ignores the application
context.

I tried both the following doesnt work

 <img src="images/Grade.gif" title ....

 <img src="/images/Grade.gif" title .....


but above s1, <html:img > looked after everything.


How to proceed on this with s2 equivalent.



Thanks,


 
____________________________________________________________________________________
No need to miss a message. Get email on-the-go 
with Yahoo! Mail for Mobile. Get started.
http://mobile.yahoo.com/mail 

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


Re: why S2 ignored S1 html image tag

Posted by Dave Newton <ne...@yahoo.com>.
--- tom tom <j_...@yahoo.com> wrote:
>  <html:img >  of the S1.
> 
> I used plain <img src= ....>  but the image is not
> appearing in my portlet as it ignores the
> application context.

<img src="<s:url value="/images/Grade.gif"/>".../>

d.



 
____________________________________________________________________________________
No need to miss a message. Get email on-the-go 
with Yahoo! Mail for Mobile. Get started.
http://mobile.yahoo.com/mail 

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