how to fatch value from <bean:write> into String

i have a logic iterate and is ArrayList(accountGrid)

i want to take the value of

<bean:write name="grid" property="bank_account_Acc_No"/>

in String.

Something like this

<logic:iterate id="grid" name="bank_accountGrid" scope="request">

String valuebean=<bean:write name="grid" property="bank_account_Acc_No"/>

</logic:iterate>

this is how i am printing my data

<logic:iterate id="grid" name="bank_accountGrid" scope="request">

<bean:write name="grid" property="bank_account_Acc_No"/>

-

</logic:iterate>

[625 byte] By [Anand_Shekhar_SEa] at [2007-11-27 8:00:13]
# 1
If you know the type of this element, you can access the property via method call, e.g.String valuebean = ((<YourType>) pageContext.getAttribute("grid")).getBank_account_Acc_No();
quittea at 2007-7-12 19:42:09 > top of Java-index,Java Essentials,Java Programming...
# 2
Thanx for ur need help.can u please tell me how i can see reply's of my post..
Anand_Shekhar_SEa at 2007-7-12 19:42:09 > top of Java-index,Java Essentials,Java Programming...
# 3
I beg your pardon?
quittea at 2007-7-12 19:42:09 > top of Java-index,Java Essentials,Java Programming...