You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by El...@fanuceurope.de on 2002/03/14 13:15:11 UTC
Use of <%= var %> Expressions in HTML Tag's not working
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: Elwert.Marcus@fanuceurope.de
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>