• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

what is the default return value for doStartTag

 
Win Yu
Ranch Hand
Posts: 224
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If I do not have doStartTag method in my tag handler. What is the default reutrn value.
case 1)my handler class extends the TagSupport class.
case 2)my handler class extends the BodyTagSupport class.
 
Lily Luoli
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Win Yu:
If I do not have doStartTag method in my tag handler. What is the default reutrn value.
case 1)my handler class extends the TagSupport class.
SKIP_BODY
case 2)my handler class extends the BodyTagSupport class.
EVAL_BODY_BUFFERED

 
Win Yu
Ranch Hand
Posts: 224
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks,Lily. How do you know that, did you get it from the book.
 
Lily Luoli
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Win Yu:
Thanks,Lily. How do you know that, did you get it from the book.


learn to check api of java doc.
Lily
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic