Why is it required that your setters in JavaBeans are public although it is not a usual way to edit the properties of an object from the expressions, because changing the state of an property is the task of the Controller (in case you are using the MVC pattern).

Does someone know this?

Thanks in advance!

Related posts

Recent Viewed