File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Java » Servlets
Bookmark "JspWriter object..." Watch "JspWriter object..." New topic

JspWriter object...

mendy smith

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.
Consider Paul's rocket mass heater.
subject: JspWriter object...
Similar Threads
mock exam question
classic tag
EL Query
Question on BodyContent.
doInitBody() method in Tag Handlers.