Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

TagSupport Class and return type doubt

 
Surajsingh Thakur
Ranch Hand
Posts: 124
Eclipse IDE MySQL Database Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A Classic tag handler class extends TagSupport class.It returns EVAL_BODY_BUFFERED...
What will be the result...
 
Arun Kumar Gupta
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A TagSupport does not have EVAL_BODY_BUFFERED,


BodyTagSupport is a subclass of TagSupport. It adds three methods and changes doStartTag() default return value to a new return value.
New return value :
EVAL_BODY_BUFFERED
doStartTag() default return type :
EVAL_BODY_BUFFERED
New methods :
setBodyContent(BodyContent)
doInitBody()
getPreviousOut():JspWriter
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic