/*File jspBeanTest001.java
Copyright 2000, R.G.Baldwin

This bean is used to test the JSP page in 
the file named jsp008.jsp

*******************************/

package BaldwinBeans;
import java.io.Serializable;

public class jspBeanTest001 
                        implements Serializable{
  private String size = "Medium";
  
  public void setSize(String size){
    this.size = size;
  }//end setSize()
    
  public String getSize(){
    return size;
  }//end getSize()
    
  public String exposedMethod(){
    return "The size is " + size;
  }//end exposedMethod()

}//end class jspBeanTest001


Figure 1