You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Amit Badheka <am...@direct2s.com> on 2002/11/06 11:01:31 UTC

Scripting vars

I have defined one scripting var like -

<logic:...>

<bean:define id="rec" name="pagingForm" property="showRec" scope="session"/>

<%=rec%>

</logic:..>

when I print the value inside it prints the value.
but, I am not able to get the value of var outside the <logic>

Is there any way to get the value of this var?

also, If I wirtes <bean:write> it gets the value, but I am not ablue to use that b'cos I can't place it within some tags as attribute value. like-

<bean:message arg1="<bean:write name='rec'' />" />

Please help.