• Post Reply Bookmark Topic Watch Topic
  • New Topic

output in the doAfterBody & doEndTag  RSS feed

 
Jimmy Jin
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There are a lot of ways to generate the ouput if the jsp-tag extends from BodyTagSupport:
getPeviousOut(), pageContext.getOut(),
bodyContent.writeOut(bodyContent().getEnclosingWriter).
sometimes, I am confused that which one I should use to generate the desired behaviour. Is there any general rule to follow ?
thx in advance.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!