May 2001
Intermediate to advanced
1088 pages
30h 13m
English
Back in Listing 16.17, you saw that the doStartTag method in the custom tag returns a value of SKIP_BODY and the doEndTag method returns a value of EVAL_PAGE. These values tell the JSP engine how to handle the content between the start and end of the custom tag, and also whether to continue evaluating the rest of the page after the custom closing tag. When doStartTag returns SKIP_BODY, it tells the JSP engine to ignore the content between the start and end of the custom tag. If the doStartTag returns EVAL_BODY_INCLUDE, the data between the start and end tags is copied to the response and any nested tags are evaluated.
When doEndTag returns EVAL_PAGE, it tells the JSP engine to continue evaluating the rest ...
Read now
Unlock full access