In EL, I want to access the value
${settings_123456.settingsMap[test].value}
The problem is that settings_123456 is a variable. Therefore, I saved it in the variable ${setting} and tried ${setting.settingsMap[test].value} , but it does not work
Edit:
Public class Setting { Map<String, myClass> settingsMap; } Public class myClass { private String myTest; }
The model is installed with the Setting object, and I need to get the value of the myTest variable in my jsp using jstl. Also note that the key for settingsMap also dynamic, so you can see the test variable in the JSP code.
source share