• Post Reply Bookmark Topic Watch Topic
  • New Topic

Doubt in classic tag return value

 
rachna jain
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All

Please refer qno-9 on page 594 HFS 2nd edition

Answer is B but why not C


tag extends BodyTagSupport then return value of doStartTag can be EVAL_body_buffereD

Please clarify above doubt

Thanks
 
Tripati Sahu
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Rachna,

could you please write the whole question. I don't have the HFSJ...

 
namita sasa
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here, EVAL BODY BUFFERED will only buffer the output and not actually print it. So, that's invalid.
 
rachna jain
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well thats given in answer explanation but its not mensioned anyehere in theory.

How can we say that?chapter doenot talk about it.


 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!