Hi I have a question about using the JSP 2.0 Expression Language
(EL) in HTML tags.

Should I be able to use the EL in tags such as <IMG> and <A>?

I would like to do this:
    <img src="images/artist/${artist}_small.gif"/>

where JSP 2.0 would change it to:
    <img src="images/artist/boris_small.gif"/>

but it instead shows the source EL expression.

I have set my environment to be JSP 2.0 compliant. I have tested
"images/artist/${artist}_small.gif" outside of the IMG tag and it
is translated correctly.  ${artist} is a valid object and I can use it
in several places inside the JSP page and it works fine but no within
the IMG tag.  I have a similar problem with the anchor tag.

I'm using tomcat 5.0.1a, read the docs and the JSP 2.0 spec and
haven't been able to figure out my problem.


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

Reply via email to