You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Slattery, Tim - BLS" <Sl...@bls.gov> on 2004/02/04 15:54:20 UTC
RE: out> tag inside tag
> Hi...I am facing some problems with using JSTL tags inside
> struts tags.
>
> This is the piece of code I wrote for my application:
>
> <html:text
> name="Customer"
> property ="Name"
> maxlength="256"
> size="256"
> style="<c:out value="${styleVar}"/>"
> />
You can't nest tags, so this syntax just is not going to work. But, you can
get the same place by using the "el" tags":
<html-el:text
name="Customer"
property ="Name"
maxlength="256"
size="256"
style="${styleVar}"/>"
/>
--
Tim Slattery
Slattery@bls.gov
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org