Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

error no collection after validation  RSS feed

td ward
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" >
<nested:write property="fileName" ignore="true"/>
<nested:write property="createdBy" ignore="true"/>
<nested:write property="createdDate" ignore="true" format="yyyy-MM-dd HH:mm:ss"/>

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.

With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!