Designing JSP Custom Tag Libraries
Subject:   Missing return statement in doEndTag example
Date:   2001-04-25 13:33:53
From:   webarch

In the first example, the doEndTag of the Hello class is missing the return statement. I assume it was meant to be something like the following:

public int doEndTag(){
try {
JspWriter out = pageContext.getOut();
} catch (Exception ex){
throw new Error("All is not well in the world.");

return EVAL_PAGE;