The spec says "If value is null or empty, the scoped variable defined by var and scope is removed" but a null value results in an exception instead: javax.servlet.jsp.JspTagException: Unparseable number: "" at org.apache.taglibs.standard.tag.common.fmt.ParseNumberSupport.doEndTag(ParseNumberSupport.java:173) for parseNumber and a similar exception for parseDate.