The following Tag handler:
public class body extends TagSupport {
public int doStartTag() throws JspException{
return EVAL_BODY_INCLUDE;
}
public int doAfterBody() throws JspException {
try { pageContext.getOut().print("how are you?"); }catch(IOException e) {}
return SKIP_BODY;
}
}
with the
JSP:
<prefix:sufix>
<i>Hello</i>
</prefix:sufix>
will print out: "in tag how are you?" with
Tomcat 4.0.
Is this the supposed behavior?
Thanks