Women in Technology

Hear us Roar



Article:
  Designing JSP Custom Tag Libraries
Subject:   Code for doEndTag() is missing a return value
Date:   2001-09-19 09:53:08
From:   violinner
Page URL:
http://www.onjava.com/pub/a/onjava/2000/12/15/jsp_custom_tags.html?page=2


Code for doEndTag() is missing a return 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);
}
}