<!--File jsp010.jsp
02/26/00
Illustrates jsp:getProperty
and jsp:setProperty for case of no
design patterns.

Also illustrates jsp:useBean

This file must be stored in the following
directory:

jswdk-1.0.1\webpages

Access http://localhost:8080/jsp010.jsp to run 
this JSP file in the Sun jswdk-1.0.1 reference 
implementation of jsp.

Requires a bean file named jspBeanTest002.class
to be stored in the following directory:

jswdk-1.0.1\examples\Web-inf\jsp\beans\
                                               BaldwinBeans
 
-->

<html>
  <body>

    <jsp:useBean 
      id="theBean" 
      scope="page" 
      class="BaldwinBeans.jspBeanTest002" />

    <P>Display default size property of the 
    bean using the jsp:getProperty tag.
    <BR><BR>

    <font color="red">
      <jsp:getProperty 
        name="theBean" 
        property="size" />
    </font>

    <P>Set the size property of the bean 
    to Small using the jsp:setProperty tag.
    <BR>
    <jsp:setProperty 
      name="theBean" 
      property="size" 
      value="Small" />

    <P>Display size property again 
    using the jsp:getProperty tag.<BR><BR>

    <font color="red">
      <jsp:getProperty 
        name="theBean" 
        property="size" />
    </font>

  </body>
</html>


Figure 6