ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.


AddThis Social Bookmark Button
  JSP 1.2: Great News for the JSP Community, Part 2
Subject:   tag code
Date:   2004-01-07 06:04:20
From:   mr_light
on the first page you say:

"The doAfterBody() does the same as doStartTag(), except that it doesn't initialize the Iterator."

why not after you initialize the Iterator in doStartTag() say "return doAfterBody();"

of course at it is it will work but why specify something twice?