spring app not finding property on object

后端 未结 1 1817
夕颜
夕颜 2020-12-21 00:53

I have an object calendar of type AppointmentCalendar. In a jsp called calendar.jsp, I call one of calendar\'s propertie

相关标签:
1条回答
  • 2020-12-21 01:14

    You should add a public getDay() method to AppointmentCalendar.
    Spring needs this getter to get the value of day.

    In general when using Spring managed beans/classes
    always add the respective getter and setter methods.

    0 讨论(0)
提交回复
热议问题