hi all,
Can any body tell me y the answer is A for the following question:
1.<%@ taglib uri="example" prefix="example"%>
2.<example:aTagWithABody>
3.<%="BODY CONTENT"%>
4.</example:aTagWithABody>
If the aTagWithABody tag extends javax.servlet.jsp.tagext.TagSupport,and answer 1 that tag's handler returns EVAL_BODY_BUFFERED from doStartTag,what is the result of processing the
JSP code?
A. Compilation fails.
B. "BODY CONTENT" IS returned in the generated response.
C. "<%=BODY CONTENT%>" is returned in the generated response.
D. Because the tag's body content will be buffered, it will
not be returned in the generated response.
Answer: A