What is the difference between pageContext.getOut() and body.getEnclosingWriter();
Ko Ko Naing
posted 13 years ago
Hi Pradeep, I think they return the same object... Since bodyContent will exist only in BodyTag interface, the usage of pageContext is applied for the Tag interface and IterationTag interface... :roll: But I guess we will be able to get an object of JspWriter by using both bodyContent and pageContext in BodyTag interface... What's your opinion, Pradeep???
Co-author of SCMAD Exam Guide, Author of JMADPlus SCJP1.2, CCNA, SCWCD1.4, SCBCD1.3, SCMAD1.0, SCJA1.0, SCJP6.0