struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
Subject Problem with logic:equal and bean:define
Date Fri, 05 Apr 2002 23:09:17 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