【发布时间】:2009-06-09 19:26:03
【问题描述】:
我的进口:
xmlns:c="http://java.sun.com/jstl/core"
xmlns:fmt="http://java.sun.com/jsp/jstl/fmt"
我的 JSTL 代码:
<h:outputLabel value="YESS" >
<fmt:formatNumber value="0.25" type="percent"></fmt:formatNumber>
HTML 生成代码:
<label>YESS</label>
<fmt:formatNumber value="0.25" type="percent"></fmt:formatNumber>
生成的代码显示 JSTL 核心是用 HTML 翻译的。
但是 JSTL“fmt”不是在 HTML 中翻译的。
更多信息:
<fmt:ErrorInThisFunctionName value="0.25" type="percent" /> ===> generate an error
- 我在 Tomcat 6 上工作
【问题讨论】: