tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wendy Smoak" <j...@wendysmoak.com>
Subject Re: Tag lib error
Date Mon, 04 Jul 2005 17:45:12 GMT
From: "Stephen Hathorne" <slh@rdi.net>

> What's wrong with this jsp fragment?
>
> <c:set var="myval" value="125000" />
> <td><font size="4"><fmt:formatNumber type="CURRENCY" value="${myval}"
> /></font></td>
>
> When I run it, I get the following error:
>
> According to TLD or attribute directive in tag file, attribute value does 
> not
> accept any expressions and currency

It works fine for me, and prints: $125,000.00

I think you might be using the wrong tld... I'm using:
   <%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>

-- 
Wendy Smoak 



---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-user-help@jakarta.apache.org


Mime
View raw message