Add this code after the bean constructor:
public String getName(){return name;}public void setName(String name){this.name = name;}private String name;
Copyright © 1997, 2006, Oracle. All rights reserved.