Explain how to use Javabeans from JSP pages.
Java beans are directly supported in JSP with JSP language elements. The java beans can easily be created, initialized and the setter and getter methods are used to set and get the values of their properties.
Java beans are used in two ways. The following examples illustrate it.
<jsp:useBean id="beanName" class="fully_qualified_classname" scope="scope"/>
<jsp:useBean id="beanName" class="fully_qualified_classname" scope="scope">
<jsp:setProperty .../>
</jsp:useBean>