public class MyPage extends BodyTagSupport { public void doInitBody() throws JspException { System.out.println("initBody()"); } public int doAfterBody() throws JspException { return SKIP_BODY; } public int doEndTag() throws JspException { return EVAL_PAGE; } } 1. where does the System.out.println("initBody()"); in doInitBody() print to? BodyContent buffer ? 2. does all the output in doInitBody() and doAfterdoBody() print to BodyContent buffer if BodyTagSupport is extends? thanks for you to clarify my questions
SCJP<br />SCWCD<br />SCEA
See El
Ranch Hand
Joined: Oct 07, 2002
Posts: 44
posted
0
System.out.println will print to the server's (tomcat ...) console.