Hi, you're right, it's not working when using the tags
that way, however try to do something like this:

<html:img page="<%=langPathANDImage%>"

where langPathANDImage="/images/" + lang +
"/hello.jpg"

this should work.

/Johannes


 --- [EMAIL PROTECTED] skrev: > Hello all,
> 
> I tried to use a Tag in my JSP as follows:
> 
> <html:img page="/images/<%=lang%>/hello.jpg"  border
> =.........>
> 
> as result the source code in my Browser shows
> 
> <img src =""/images/<%=lang%>/hello.jpg"  border
> =.........>
> 
> I expected the <%=lang%> Expression being replaced
> by the value of the
> expression.
> If I use <img src =""/images/<%=lang%>/hello.jpg" 
> border =.........> in my
> jsp the replacement of the expression works fine.
> 
> I think i missed something in reading the docs and
> api for struts. But
> what?
> 
> Thanks in advance for any help
> 
> Marcus
> 
> Marcus Elwert
> Fanuc Germany GmbH
> E-Business consultant
> Phone +49 7158 187 322
> Fax + 49 7158 187 422
> Mail: [EMAIL PROTECTED]
> 
> 
> 
> 
> 
> --
> To unsubscribe, e-mail:  
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
>  

_____________________________________________________
Hitta snörapporter... 
frĺn 500 olika skidorter i Europa
pĺ http://se.snow.yahoo.com

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to