This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes getOut = getEnclosingWriter Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "getOut = getEnclosingWriter" Watch "getOut = getEnclosingWriter" New topic

getOut = getEnclosingWriter

sean cee
Ranch Hand

Joined: Oct 24, 2000
Posts: 115
Hi all,
Are BodyTagSupport.getOut and BodyContent.getEnclosingWriter
return the same OBJECT? ( not asking about if the return type is the same or not )
Thanks in advance

Sean <br />SCJP2, SCJP2p1.4, SCWCD
k space
Ranch Hand

Joined: Jun 25, 2002
Posts: 104
Did you mean BodyTagSupport.getPreviousOut?
Yes, it is a convenient function, which returns the enclosing JspWriter from the bodyContent.

SCEA | SCBCD | SCWCD | SCJP - The kSpace
I agree. Here's the link:
subject: getOut = getEnclosingWriter
jQuery in Action, 3rd edition