Remarks
If rs.next() is true, this does nothing but return EVAL_BODY_TAG again—the iteration continues.
If rs.next() is false, the result set has been exhausted.
Before returning the value SKIP_BODY, which tells the JSP container not to process the body again, the method outputs the accumulated result of (repeatedly) processing its body.
- Any tag handler that implements BodyTag has accepted this responsibility.
- Details are beyond the scope of this lecture, but the code given here should work when the JSP default processing mode is adequate for the body content.