Forums Register Login
Iterating over map in jsp using jstl
I have an object X which has two properties say 'a' and 'b'

I am iterating over this map in my jsp as follows

I just printed key since my code was giving error here itself. It says
"property 'a' not readable on type java.lang.String"

I am confused because I am only printing my key values but the error is saying something about a property that is in my list.
Well is there somewhere in your JSP you are trying to render property 'a'?

It will only look for property 'a' if you ask it to.
I would direct my attention to other parts of the JSP code.

Wink, wink, nudge, nudge, say no more ... https://richsoil.com/cards

All times above are in ranch (not your local) time.
The current ranch time is
Dec 10, 2017 21:15:44.