ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Designing JSP Custom Tag Libraries
Subject:   Missing a return value for doEndTag()
Date:   2002-01-20 05:11:34
From:   taranjeet
Missing a return integer value.


public int doEndTag()throws JspTagException {
try {
JspWriter out = pageContext.getOut();
out.println("</table>");
} catch (Exception ex){
throw new JspTagException("All is not well in the world." + ex);
}
return EVAL_BODY_TAG;
}


after that no error.
Nice Custom Tag