• Post Reply Bookmark Topic Watch Topic
  • New Topic

TagSupport Class and return type doubt  RSS feed

 
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
Boost this thread!