Problem with logic:equal tag when used with bean:write

Hi All,

I have a problem with logic:equal.When i tried to use the following piece of code its not working

<logic:equal name="var in session" value="<bean:write name='var in request'/>">

Do some thing

</logic:equal>

its not working i know we cant use nested tags

is thr any alternative instead of using a scriplet

[375 byte] By [NarayanaPadmanabhunia] at [2007-10-3 1:38:26]
# 1

A scriptlet expression is about all you can do.

<bean:define id="tempVar" name="var in request"/>

<logic:equal name="var in session" value="<%= tempVar %>">

...

If you have a JSP2.0 container with EL enabled, then you could use an EL expression instead of the standard <%= expr %>

evnafetsa at 2007-7-14 18:36:38 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...