Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Differenece  RSS feed

 
Pradeep bhatt
Ranch Hand
Posts: 8933
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is the difference between
pageContext.getOut()
and
body.getEnclosingWriter();
 
Ko Ko Naing
Ranch Hand
Posts: 3178
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Pradeep,
I think they return the same object... Since bodyContent will exist only in BodyTag interface, the usage of pageContext is applied for the Tag interface and IterationTag interface... :roll:
But I guess we will be able to get an object of JspWriter by using both bodyContent and pageContext in BodyTag interface...
What's your opinion, Pradeep???
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!