This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
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
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.
 
GeeCON Prague 2014
 
subject: JspWriter object...