You could retrieve the bean2:prop2 value into a JSP scriptlet and then pass
it to the logic:equal tag.

<% theValue = yourBean.property2() %>
<logic:equal name="bean1" property="prop1" value="<%=theValue%>">


Lind Jürgen wrote:

> Hi there,
>
> is there a possibbility within a struts-enabled jsp to compare
> two bean properties? I am looking for something like
>
> <logic:equal name="bean1" property="prop1" value=<bean:write name="bean2"
> property="prop2">>
>  ...do something...
> </logic:equal>
>
> which is not possible currently since the logic:equal tag only supports
> comparison between a bean property and and constant value... Any ideas?
>
> Regards,
>
> Jürgen
begin:vcard 
n:;
x-mozilla-html:FALSE
org:<BR><IMG SRC="http://www.irista.com/logo/irista.gif"><BR><BR><FONT Color=#000080><FONT SIZE=2><B>Bringing Vision to Your Supply Chain
adr:;;;;;;
version:2.1
end:vcard

Reply via email to