Re: Runtime expressions with <img:image>
Hassan Schroeder <[email protected]>
| Newsgroups | gmane.comp.jakarta.taglibs.user |
|---|---|
| Message-ID | <[email protected]> |
Robert Bowen wrote:
> The image tag I am referring to, <img:image> is NOT HTML but rather the Jakarta taglib as the last poster mentioned.
>
> Neither this:
Just out of curiousity, I downloaded the nightly of the image
taglib (and dependencies) and tried it; the following JSP page:
----------------------------------------------------------------
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://jakarta.apache.org/taglibs/image-1.0" prefix="img" %>
<c:set var="imageSource" value="/lib/images/button.png"/>
${imageSource} <br/>
<img:image src="${imageSource}" name="minibutton.png"/>
-----------------------------------------------------------------
:: works exactly as expected, printing the value of 'imageSource'
and displaying that image...
> I downloaded jstl 1.1 (the jar that comes with Java SDK 1.4, appserv-jstl.jar, right?)
No idea what that is; I'm using the Apache/Jakarta implementation:
<http://jakarta.apache.org/taglibs/doc/standard-doc/intro.html>
HTH!
--
Hassan Schroeder ----------------------------- [email protected]
Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com
opinion: webtuitive.blogspot.com
dream. code.