A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Web Component Certification (SCWCD/OCPJWCD)
write to output in the doAfterBody
Joined: Aug 20, 2003
Aug 17, 2005 03:17:00
I'm studying for the SCWCD exam and i'm a bit confused about the following :
Can someone tell me the difference between :
JspWriter wrt = getBodyContent.getEnclosingWriter();
JspWriter wrt = getPreviousOut();
JspWriter wrt = getPageContext.getOut();
in the doAfterBodyMethod of a class extending the BodyTagSupport.
Doesn't all the 'wrt' write to the same output ?
I agree. Here's the link:
subject: write to output in the doAfterBody
write to output in the doAfterBody() method
A proble writing byte array to client in JSP
doAfterBody() is not executed using BodyTagSupport
sending html to the browser whilst an intensive operation proceeds
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014