Re: Runtime expressions with <img:image>

Hassan Schroeder <[email protected]>
Newsgroups gmane.comp.jakarta.taglibs.user
Message-ID <[email protected]>
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 ----------------------------- [email protected]
Webtuitive Design ===  (+1) 408-938-0567   === http://webtuitive.com
                opinion: webtuitive.blogspot.com
				
                          dream.  code.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.