I am getting this error:"javax.servlet.ServletException: No collection found
org.apache.jasper.runtime.PageContextImpl.doHandle PageException(PageContextImpl.java:825)"
I have been googling for the answer and nothing helps. I do what they say but there seem to be a lot of unanswered questions about this.
Here are the details. The list has 4 elements in it.
//jsp looks like this
<logic:iterate name="protocolListForm" property="protocols" id="protocol">
list will be here
</logic:iterate>
//Action looks like this
System.out.println("Size of list is " + results.size());
ProtocolListForm pForm = new ProtocolListForm(results);
//Form looks like this
private List<CollectionProtocol> protocols = null;
public ProtocolListForm(List <CollectionProtocol>results)
{
this.protocols=results;
}
public List getProtocols()
{
return protocols;
}
public void setProtocols(List <CollectionProtocol>protocols)
{
this.protocols = protocols;
}