aspose file tools*
The moose likes Struts and the fly likes error no collection after validation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "error no collection after validation" Watch "error no collection after validation" New topic
Author

error no collection after validation

td ward
Greenhorn

Joined: Feb 13, 2004
Posts: 3
Hi All,

This is the senario:

I have a jsp that I validate - in has a nested loop at the bottom that I am not trying to validate any part of.

If the validator reurns and issue my jsp fragments with the following error:

[Servlet Error]-[No collection found]: javax.servlet.jsp.JspException: No collection found.

this is in the jsp:

<nested:iterate id="attachment" property="attachments" indexId="indicator" >

<tr bgcolor="#f0f0f0" >
<td>
<nested:write property="fileName" ignore="true"/>
td>
<td>
<nested:write property="createdBy" ignore="true"/>
</td>
<td>
<nested:write property="createdDate" ignore="true" format="yyyy-MM-dd HH:mm:ss"/>
</td>
</tr>
</nested:iterate>



The ArrayList is part of the form and the VO that populates the form. And all values display when the form is loaded, but after I submit changes and validate, I get the error.

If anyone knows what I need to do I'd greatly appreaciate it.

thx
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: error no collection after validation