On Thu, 27 Jan 2005 10:48:47 +0530, Krishna Mohan Radhakrishnan
<[EMAIL PROTECTED]> wrote:
> 
> Hi all,
> I have a very simple doubt on struts equal tag.
> 
> The tag is like this
> <logic:equal name="planModel" property="plandesc1" value="planDesc2">
> </logic:equal>

Here is one way:

<bean:define id="planDesc2" name="planModel" property="planDesc2"/>
<logic:equal name="planModel" property="plandesc1" value="<%=planDesc2%>">
</logic:equal>

> 
> Here planDesc1 and planDesc2 are both beans of the same class planModel.
> 
> Can I have a comparison with 2 beans of the same class.
> I heard that logic equal comparison has to be done to a constant valu.
> 
> Any other method to do this.
> 
> Regards,
> Krishna Mohan
> 
> ---------------------------------------------------------------------
> 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