<html> <head> <title>Using athleteBean</title> </head> <body> <h1><center> Using athleteBean </center></h1> <font size="+1"><b> <jsp:useBean id="an_athlete" class="mybeans.athleteBean" scope="page"> </jsp:useBean> <jsp:useBean id="another_athlete" class="mybeans.athleteBean" scope="page"> </jsp:useBean> <jsp:setProperty name="an_athlete" property="name" value="Bob Brown"/> <jsp:setProperty name="an_athlete" property="year" value="Junior"/> <jsp:setProperty name="an_athlete" property="testgrade" value="96"/> <jsp:setProperty name="an_athlete" property="sport" value="Baseball"/> <jsp:setProperty name="another_athlete" property="name" value="Alice Smith"/> <jsp:setProperty name="another_athlete" property="year" value="Junior"/> <jsp:setProperty name="another_athlete" property="testgrade" value="97"/> <jsp:setProperty name="another_athlete" property="sport" value="Basketball"/> <p>The an_athlete Name is: <jsp:getProperty name="an_athlete" property="name"/> </p> <p>The another_athlete Name is: <jsp:getProperty name="another_athlete" property="name"/> </p> <p>The another_athlete Sport is: <jsp:getProperty name="another_athlete" property="sport"/> </p> <p>The an_athlete Whole Story: <jsp:getProperty name="an_athlete" property="all"/> </p> <p>The another_athlete Whole Story: <jsp:getProperty name="another_athlete" property="all"/> </p> </b></font> </font> </body> </html>