Title: need some help.......
"jas" is not in "session" scope - the iterator is creating it for each iteration (must be page scope?) - try it without the "scope":
 
<bean:write name="jas" property="attr"/>
 
Niall
 
 -----Original Message-----
From: Jiten Mohanty [mailto:[EMAIL PROTECTED]]
Sent: 14 June 2001 23:57
To: [EMAIL PROTECTED]
Subject: need some help.......

Hi folks

I am trying to iterate through a array of objects.Here is the code......

<logic:iterate id="jas" name="countBeanForm" property="mbeanOper" type="Ipseal.JbossOperationForm" scope="session">
        <td align="center">
               
                <bean:write name="jas" property="attr" scope="session"/>
                   
       
        </td>
</logic:iterate>

property "mbeanOper" : returns array[objects]

Each Object has a property called Attr[String](set & get).I want to display the each String in Attr[ ].Whe I run the code, i get the following error......

Error: 500
Location: /ipseal_demo/bean_count.jsp
Internal Servlet Error:
javax.servlet.ServletException: Cannot find bean jas in scope session
        at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:459)
        at _0002fbean_0005fcount_0002ejspbean_0005fcount_jsp_44._jspService(_0002fbean_0005fcount_0002ejspbean_0005fcount_jsp_44.java:299)

        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
 and on......

Can some body help on this.....

Jiten
Software Enginer

Reply via email to