Re: Tag as an attribute

2003-01-23 Thread Nicolas De Loof
JSP Tags use a XML style syntax, so you can't use a tag as attribute of another tag. Nico. > name="myImage"/>"/> > > I am getting an error. What's the way to achieve this without using a > scriptlet? I have a temporary fix: > > <% String image=(String)pageContext.getAttribute("myImage", > page

RE: Tag as an attribute

2003-01-23 Thread olivier
/ c u, olivier -Message d'origine- De : Suresh Addagalla [mailto:[EMAIL PROTECTED]] Envoye : vendredi 24 janvier 2003 08:11 A : [EMAIL PROTECTED] Objet : Tag as an attribute Hi, Is the following a valid struts tag? "/> I am getting an error. What's the way to achieve

Tag as an attribute

2003-01-23 Thread Suresh Addagalla
Hi, Is the following a valid struts tag? "/> I am getting an error. What's the way to achieve this without using a scriptlet? I have a temporary fix: <% String image=(String)pageContext.getAttribute("myImage", pageContext.APPLICATION_SCOPE) ; %> Thanks, Suresh **Disc