check object.field is not exist
example:
StaffDTO {
private int staffId;
private String email;
private String password;
}
what I've tried (did not work)
<div th:text="${staffTest.?asdasd}">asdasd</div>
check object.field is not exist
example:
StaffDTO {
private int staffId;
private String email;
private String password;
}
what I've tried (did not work)
<div th:text="${staffTest.?asdasd}">asdasd</div>
I'm not sure what you wanna do
but if you want to get list of available properties try this on you object
Object.getOwnPropertyNames();