struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stephen.chambers" <>
Subject Problem with logic:equal and bean:define
Date Sat, 06 Apr 2002 23:56:26 GMT

 When I use the bean:define tag inside a logic:equal, why doesn't the
scriptinh variable created stay in scope outside of the logic tags? What am
I doing wrong?

 Code snippet below:

 <logic:equal name="myattribute" value="5">
   <bean:define id="myvar" value="50"/>

 Once outside of the logic tags, even out.print(myvar); results in null.

 Thanks, Steve

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message