• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Eduardo Cobian's mock question 18

 
Timber Lee
Ranch Hand
Posts: 157
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Question 18)
Which of the following statements PageConext methods pushBody and popBody are true?
1) pushBody is called by the jsp container after doStartTag and before doAfterBdy
2) pushBody is called by the jsp container before doInitBody
3) popBody is called by the jsp container after doAfterBody and before doEndTag
4) popBody is called by the jsp container after doEndTag
the answer are 1 and 3.
my questions are:
* is pushBody called by the jsp container before doInitBody?
* does the doEndTag output the bodycontent by default? if the doEndTag is overrided , how is the bodycontent output?
appreciate for your help
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic