• 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: 437
  • 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.
 
Run away! Run away! Here, take this tiny ad with you:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!