package printerAPIExample1.bean; /** * A bean used as databag to transport data from a servlet to the JSP. The bean contains a string * that can be used as title/headline for the JSP */ public class dataBean { // name is used as title in the JSP private String name; // get and set methods public String getString () { return this.name; } public void setString (String name) { this.name = name; } }