Convert integer value to string using JSTL/EL

前端 未结 4 1737
独厮守ぢ
独厮守ぢ 2020-12-18 19:09

How do I correct this statement:

${model.myHashtable[model.data.id]}.

myHashtable is defined as

Hashtable

        
4条回答
  •  眼角桃花
    2020-12-18 19:48

    In JSP file:

    <%@ taglib prefix = "fmt" uri = "http://java.sun.com/jsp/jstl/fmt" %>
    
    
    
    
    
    

提交回复
热议问题