I have this code:
<fmt:formatNumber type="number"
maxFractionDigits="2"
value="${maxAllowableAmount}" />
I have this warning in Eclipse editor:
"value" does not support runtime expressions
I tried to ignore it and run the app, but I have this runtime error:
quote symbol expected
How am I gonna deal with this?
My data comes from the database and I want to format it on my browser.
Ensure that you are using the correct @ taglib
directive. Replace:
<%@ taglib uri="http://java.sun.com/jstl/fmt" prefix="fmt"%>
with:
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
The /jsp
makes the difference.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With