Great Robert, this solved ! Thank you !

Babs
----- Original Message -----
From: Robert Taylor <[EMAIL PROTECTED]>
To: Struts Users Mailing List <[EMAIL PROTECTED]>
Sent: Thursday, June 27, 2002 3:47 PM
Subject: RE: problem with img and scriptlet variable


> Try this:
>
> <nested:define property="nodePix" id="imgName"/>
>   <% String imgSrc = "images/" + imgName; %>
>       <html:img src="<%=imgSrc%>" width="10" height="10" alt=""/>
>       <%=imgName%>
>      <html:img src="images/puce2.gif" width="10" height="10" alt=""/>
>
> The behavior you are seeing is the result of limitation in the current JSP
> spec.
>
> robert
>
> > -----Original Message-----
> > From: Barbara Post [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, June 27, 2002 9:42 AM
> > To: [EMAIL PROTECTED]
> > Subject: problem with img and scriptlet variable
> >
> >
> > <nested:define property="nodePix" id="imgName"/>
> >
> >      <html:img src="images/<%=imgName%>" width="10" height="10" alt=""/>
> >      <%=imgName%>
> >     <html:img src="images/puce2.gif" width="10" height="10" alt=""/>
> > ...
> >
> > so I get :
> > broken link, the right name of my pix, my pix shows blissfully.
> >
> > On the resulting html page I see that <%= imgName %> is printed
> > rather than
> > its value... :-(
> >
> > Babs w/ Struts 1.1
> >
> >
> > --
> > To unsubscribe, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> >
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to