I have something like that:
faces-config.xml
<managed-bean>
<managed-bean-name>aBean</managed-bean-name>
<managed-bean-class>some.pack.Bean</managed-bean-class>
<managed-bean-scope>session</managed-bean-scope>
</managed-bean>
I have a bean and in jsp page I have something like value="#{aBean.someBoo}"
. But I dont have such property in bean's java file. There is no such thing as for example: private String someBoo;
Instead there is getSomeBoo()
method. The code works but I can't understand why. How does it know to execute getSomeBoo()
if there is only #{aBean.someBoo}
. Is it some convention that it omits get
? What am I missing? I quite newbie so where I can find it explained well.