In the previous few chapters, we saw how JavaBeans help us encapsulate functionality in classes inside a JSP Page using XML notations (tags). Although the reference to such a JavaBean allows you to access attributes and methods via scriptlets, the XML notation itself is limited to getting and setting properties in the JavaBean. Once you have the reference, as mentioned, you can treat the JavaBean