Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

If doStartTag() returns SKIP_PAGE or EVAL_PAGE

 
sakthi vadivel
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
in java ranch mock exam question i have read a question which returns SKIP_PAGE from doStartTag() the result they have shown as like body is processed.

can anyone clear my doubt?

thanks in advace guys...
 
Chinmaya Chowdary
Ranch Hand
Posts: 434
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, Sakthi.

The container skips the body if doStartTag() returns 'SKIP_BODY'. Container checks againest this(SKIP_BODY) value(0) only. For more information see the generated source code.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic