Win a copy of Machine Learning Systems: Designs that scale this week in the Scala forum
or Xamarin in Action: Creating native cross-platform mobile apps in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

output in the doAfterBody & doEndTag  RSS feed

 
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.
 
Curse your sudden but inevitable betrayal! And this tiny ad too!
Rocket Oven Kickstarter - from the trailboss
https://coderanch.com/t/695773/Rocket-Oven-Kickstarter-trailboss
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!