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 13:08:13 GMT
Robert Bowen wrote:
> Is this possible? According to the docs it is. But when I try the following:
> 
> <c:set var="path" value="/images/splash.jpg" scope="page" />
> 
> <img:image src="${path}"/>
> 
> The page fails saying File Not Found: '${path}'. Meaning it's not 
> interpreting the path variable, but rather just spitting it back
> out as plain text. Yes, I have the core jstl libraries working
> properly, since the following statement:
> 
> path is <c:out value="${path}" />

is meaningless :-)  -- does

  path is ${path}

work? If not, you're not using JSTL 1.1 and/or Servlet 2.4, where
the *container* interprets/expands EL statements.

A more precise answer would be possible with actual information
about your configuration...

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