Code: <html> <head> <title>SimpleBean Test Page</title> </head> <body> <%-- Creating JavaBeans --%> <jsp:useBean id="simple" class="com.stardeveloper.bean.test.SimpleBean"> <jsp:setProperty name="simple" property="name" value="Faisal Khan" /> <jsp:setProperty name="simple" property="age" value="24" /> </jsp:useBean> <%-- Displaying JavaBean property's value --%> <p>Name retrieved from JavaBean has the value of : <b><jsp:getProperty name="simple" property="name" /></b>.<br> Age retrieved from JavaBean has the value of : <b><jsp:getProperty name="simple" property="age" /></b> years.<br> </p> </body> </html>