Why JSTL number format value does not support runtime expressions?

后端 未结 4 1859
梦如初夏
梦如初夏 2021-01-19 06:17

I have this code:


<         


        
4条回答
  •  盖世英雄少女心
    2021-01-19 07:12

    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.

提交回复
热议问题