我进口:
JSTL标签在HTML没有转化
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公司re是在HTML中翻译的。
但是JSTL“fmt”没有在HTML中转换。
的更多信息:
<fmt:ErrorInThisFunctionName value="0.25" type="percent" /> ===> generate an error
- 我在Tomcat 6 工作