Re: Runtime expressions with img:image

2006-05-18 Thread Robert Bowen
Hmm ... well, I guess I downloaded the wrong library. Anyway, I was wrong in my last email, using a java scriptlet I got it to work. But I don't think I am going to be able to use it. Since I am generating images on the fly in a loop, so that the image tag doesn't generate the image once and

Runtime expressions with img:image

2006-05-17 Thread Robert Bowen
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

Re: Runtime expressions with img:image

2006-05-17 Thread Hassan Schroeder
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

Re: Runtime expressions with img:image

2006-05-17 Thread Robert Bowen
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? Thanks buckets, Bob Hassan Schroeder [EMAIL

Re: Runtime expressions with img:image

2006-05-17 Thread Martin Cooper
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 /

Re: Runtime expressions with img:image

2006-05-17 Thread Hassan Schroeder
Robert Bowen wrote: 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? short answer: no. Though I'm not sure where that img:... tag comes from, haven't used it myself. But if you're using a 2.4 deployment

Re: Runtime expressions with img:image

2006-05-17 Thread Martin Cooper
On 5/17/06, Hassan Schroeder [EMAIL PROTECTED] wrote: Robert Bowen wrote: 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? short answer: no. Though I'm not sure where that img:... tag comes from,

Re: Runtime expressions with img:image

2006-05-17 Thread Kris Schneider
Hassan Schroeder wrote: Robert Bowen wrote: 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? short answer: no. Though I'm not sure where that img:... tag comes from, haven't used it myself. Well, no

Re: Runtime expressions with img:image

2006-05-17 Thread Kris Schneider
Martin Cooper wrote: On 5/17/06, Hassan Schroeder [EMAIL PROTECTED] wrote: Robert Bowen wrote: 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? short answer: no. Though I'm not sure where that img:...

Re: Runtime expressions with img:image

2006-05-17 Thread Robert Bowen
The image tag I am referring to, img:image is NOT HTML but rather the Jakarta taglib as the last poster mentioned. Neither this: img:image src='${path}' / nor this: img:image src='c:out value=${path}/' / not this: img:image src='%= (String)pageContext.getAttribute(path) %'/ works. If I

Re: Runtime expressions with img:image

2006-05-17 Thread Hassan Schroeder
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: