Home > Net >  Why I can't get the second Map from Map<String ,Map<String, String>>
Why I can't get the second Map from Map<String ,Map<String, String>>

Time:02-10

I have a Map<String, Map<String, String>> and I want to get the value form the second Map. I'm trying to use <th:block th:with="categorySubMap=${categoryMap.get(warehouse)}"> , but it seems categorySubMap become a List not a Map.

How to get the Map in Thymeleaf?

CodePudding user response:

  •  Tags:  
  • Related