File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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
It's not a secret anymore!