It's not a secret anymore!*
The moose likes Servlets and the fly likes JspWriter object... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "JspWriter object..." Watch "JspWriter object..." New topic
Author

JspWriter object...

mendy smith
Greenhorn

Joined: Jan 30, 2001
Posts: 19
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JspWriter object...
 
Similar Threads
mock exam question
classic tag
EL Query
Question on BodyContent.
doInitBody() method in Tag Handlers.