MongoDB - 如何在jstl中声明对象变量

MongoDB - How to declare object variable in jstl

我正在使用MongoDB,我的对象是这样的

{ 
    "id" : "1", 
    "Name" : "jack", 
    "Date" : "22-03-2018", 
    "Time" : "123412", 
    "tmax_volumes" : {
        "type1" : "392.7cm", 
        "type2" : "83.1cm", 
        "type3" : "24.1cm", 
        "type4" : "15.6cm"
    }
}

现在想在我的 jstl 页面中打印 tmax_volumes

在我使用 ${COLL.tmax_volumes} 这个变量的 jstl 页面中,我得到了 tmax_volumes 对象,如下所示

    { 
     "type1" : "392.7cm" , 
     "type2" : "83.1cm" , 
     "type3" : "24.1cm" , 
     "type4" : "15.6cm"
   }

现在我需要使用密钥 values,

392.7cm
83.1cm
24.1cm
15.6cm

谢谢

在我的模型中,我映射 tmax_volume 对象

private Map<String,String> tmax_volumes;

还有我的 jstl 页面,我在下面这样分配

<p>${COLL.tmax_volumes.type1}</p>
<p>${COLL.tmax_volumes.type2}</p>
<p>${COLL.tmax_volumes.type3}</p>
<p>${COLL.tmax_volumes.type4}</p>