Called AFTER the first (and subsequent) body has been output.
This one controls the iteration!!
if (it == null) {
return Tag.SKIP_BODY;
}
if (it.hasNext()) {
o = it.next();
// Put the "bean" named "element", really NewsArticle object in o,
// into the pageContext where <jsp:getProperty can find it.
pageContext.setAttribute(element, o);
return BodyTag.EVAL_BODY_TAG; // Process it.
}
// All done the iterator, don't do body any more.
return Tag.SKIP_BODY;