tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hassan Schroeder <has...@webtuitive.com>
Subject Re: Runtime expressions with <img:image>
Date Wed, 17 May 2006 15:21:34 GMT
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 ----------------------------- hassan@webtuitive.com
Webtuitive Design ===  (+1) 408-938-0567   === http://webtuitive.com
                opinion: webtuitive.blogspot.com
				
                          dream.  code.



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


Mime
View raw message