• Post Reply Bookmark Topic Watch Topic
  • New Topic

doAfterBody() in custom Tags

 
Sophie Angela
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can we do a pageContext.getOut().println("yes");
inside thw doAfterBody() method?
 
Micheal John
Ranch Hand
Posts: 344
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why Can't..?

 
Sophie Angela
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello john,,

what will be the output for the above program you have given?
I read somewhere that if we want to print from a doAfterBody() we have to used previousOut implicit variable!!!


please give me a explanation about this...
 
Without deviation from the norm, progress is not possible - Zappa. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!