public class body extends BodyTagSupport { public int doAfterBody() throws JspException { try { pageContext.getOut().print("how are you?"); }catch(IOException e) {} return SKIP_BODY; } } what will be printed out by the following part of a jsp page? <prefix:sufix> <i>Hello</i> </prefix:sufix>
The default doStartTag() returns EVAL_BODY_BUFFERED.
I tried by adding a doStartTag() which returns EVAL_BODY_INCLUDE, then it print "Hello how are you." We can find the return value matters. What does EVAL_BODY_BUFFERED mean
SCJP2, SCWCD
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.
subject: can someone explain me the output for the code