• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

printing or processing body content by tag handler

 
Rasika Chitnis
Ranch Hand
Posts: 131
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is it true that you can't print anything in the method doAfterBody if the tag handler
implements Tag or IterationTag interface ? To be able to do that, is it necessary for
the tag handler to implement BodyTag interface ?
Also, it looks like body content of the tag is evaluated by jsp engine if the tag handler
implements Tag or IterationTag interface, whereas if the tag handler implements BodyTag
interface the body content can be processed by tag handler itself, not the jsp engine.
thanks
 
k space
Ranch Hand
Posts: 104
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Rasika Chitnis:
Is it true that you can't print anything in the method doAfterBody if the tag handler
implements Tag or IterationTag interface ?

No, I don't think the spec has this restriction.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic