如何使用el表達式遍歷hashmap集合

遍歷HashMap<key,value>   key裏面存放的是一個對象  所以  遍歷${entry.key.foodName} value裏面存放的是一個Integer數值   遍歷只需要${entry.value}
相關文章
相關標籤/搜索