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.

You guys wanna see my fabulous new place? Or do you wanna look at this tiny ad?
ScroogeXHTML 7.1 - RTF to HTML5 / XHTML converter

This thread has been viewed 1198 times.

All times above are in ranch (not your local) time.
The current ranch time is
Feb 21, 2018 15:59:33.