Thanks Wendy.
I'm using Struts 1.2.8 and JBoss 4.0.1.
And ur right -- I plugged in that little piece of code, and it didn't work :-)
I'll be lookign at the JSTL docs and waiting for another email..

-----Original Message-----
From: Wendy Smoak [mailto:[EMAIL PROTECTED]
Sent: Friday, January 13, 2006 4:44 PM
To: Struts Users Mailing List
Subject: Re: How to use a tag withing another tag?


On 1/13/06, Gupta, Karan <[EMAIL PROTECTED]> wrote:

> I have tried several ways, including
> <logic:equal name="iDefObj" property="equipType"
>         value="<bean:write name='equipTypeObj' property='equipType'/>">
> but nothing seems to work.

As you've discovered, you can't use a JSP tag as an attribute of
another JSP tag.

You can use JSTL:
   value="${equipTypeObj.equipType}"

Whether that will "just work" depends on your environment and configuration.

When asking questions, please tell us what version of Struts you're
using, and whether you're on Servlet 2.2, 2.3 or 2.4.  (Or tell us
what version of what Servlet container you're using.)  Especially in
this case, it makes a difference in the answer.

--
Wendy

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


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

Reply via email to