Re: Runtime expressions with <img:image>

"Martin Cooper" <[email protected]>
Newsgroups gmane.comp.jakarta.taglibs.user
Message-ID <[email protected]>
On 5/17/06, Robert Bowen <[email protected]> wrote:
>
> Well how do you like that. Perhaps I should have mentioned I am a JSTL
> newbie, but I guess you already got that.
>
> No, "path = ${path} does not work. I am using JSTL 1.0 and Servlet 2.4.
>
> So can I do this? ...Without changing versions of JSTL / Servlet?


<img:image src='<c:out value="${path}"/>' />

--
Martin Cooper


Thanks buckets,
> Bob
>
> Hassan Schroeder <[email protected]> wrote: Robert Bowen wrote:
> > Is this possible? According to the docs it is. But when I try the
> following:
> >
> >
> >
> >
> >
> > 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
>
> 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.
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
>
>
> ---------------------------------
> How low will we go? Check out Yahoo! Messenger's low  PC-to-Phone call
> rates.
>
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.