• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JspWriter object...

 
mendy smith
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If i extend a class from BodyTagSupport, do i have to get the jspWriter object from the bodyContent object itself. I can also get the jspWriter object from the pageContext object right, but when i try to output the contents from the jspWriter object obtained from pageContext it doesn't output anything, but when i output from the jspWriter object obtained from body content object ie body.getEnclosingWriter(), then it works fine. So what's the difference.
Thanks and appreciate your feedback.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic