Can I use EL expression like this ? Topic comes from a requestScope param that is List.
${topic.person.username}
Taking that Topic has a Person and Person has username. I am getting an error telling me that
Property 'username' not found on type br.com.gsc.model.tableMapping.User
It should work fine. The error is just telling that
${topic.person}returns an instance of thebr.com.gsc.model.tableMapping.Userclass which in turn doesn’t have apublic String getUsername()method. One of those two facts is probably not what you expect. Fix the code accordingly. Perhaps it has to be a different type or the method is indeed missing/incorrect?