This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Five Lines of Code and have Christian Clausen on-line!
See this thread for details.
Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

error no collection after validation

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
    Bookmark Topic Watch Topic
  • New Topic