Are you storing myList on a form?

Gary

>>> [EMAIL PROTECTED] 1/20/2006 12:37:18 AM >>>
Hi, I am using struts taglib. I have a object like

public class myObject{
    List myList;

    List getList(){
        return myList;
    } 

    ...
}

The myObject is send through aciton to the jsp. In my
jsp, I have:

...
<bean:define id="l" value="myObject.list"/>
<logic:iterate id="obj" collection="l">
...
</logic:iterate>

But it complains that " Cannot create iterator for
this collection" which means myList is not reconginzed
as a list.

What is wrong?

Thanks,

qq

__________________________________

Confidentiality Statement:
This email/fax, including attachments, may include confidential and/or 
proprietary information and may be used only by the person or entity to which 
it is addressed. If the reader of this email/fax is not the intended recipient 
or his or her agent, the reader is hereby notified that any dissemination, 
distribution or copying of this email/fax is prohibited. If you have received 
this email/fax in error, please notify the sender by replying to this message 
and deleting this email or destroying this facsimile immediately.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to