• Post Reply Bookmark Topic Watch Topic
  • New Topic

question from mocktest

 
shwetha bol
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
1)I found following question in one of the mock tests on web.

--------------------------------------------------
I thought correct ans is 2 and same is true even when executed on Tomcat. But the ans is given as 4, explanation is 'nothing can be printed from doAfterBody', is that true?
what will be the result if TagSupport is replaced with BodyTagSupport
Can anyone clarify
Thanks
shwetha
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
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!