• Post Reply Bookmark Topic Watch Topic
  • New Topic

Tag and TagSupport doStart() ?

 
Stu Higgs
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, I recently came across some documentation in a book that stated that the doStart() method in TagSupport returns by default if not overridden the EVAL_BODY_INCLUDE constant. I also have read in the J2EE 1.3 API docs that doStart returns SKIP_BODY constant by default. Has there been a change in the latest spec? Thanks.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65530
105
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The book is wrong. The API docs for TagSupport clearly state:


public int doStartTag() throws JspException

Default processing of the start tag, returning SKIP_BODY.
 
Stu Higgs
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!