Bug 7734

Summary: If an empty string is provided to the value attribute of the formatNumber action (either EL or RT), an Exception occurs.
Product: Taglibs Reporter: Ryan Lubke <Ryan.Lubke>
Component: Standard TaglibAssignee: Tomcat Developers Mailing List <dev>
Status: RESOLVED FIXED    
Severity: major    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   

Description Ryan Lubke 2002-04-03 20:29:24 UTC
Given:

<fmt:formatNumber value=""/>
 -or-
<fmt-rt:formatNumber value=""/>

Result:

javax.servlet.jsp.JspTagException: Unparseable number: ""
	at
org.apache.taglibs.standard.tag.common.fmt.FormatNumberSupport.doEndTag(FormatNumberSupport.java:180)
Comment 1 Jan Luehe 2002-04-03 21:13:04 UTC
Fixed.