1 16 17 18 package jsp2.examples; 19 20 public class BookBean { 21 private String title; 22 private String author; 23 private String isbn; 24 25 public BookBean( String title, String author, String isbn ) { 26 this.title = title; 27 this.author = author; 28 this.isbn = isbn; 29 } 30 31 public String getTitle() { 32 return this.title; 33 } 34 35 public String getAuthor() { 36 return this.author; 37 } 38 39 public String getIsbn() { 40 return this.isbn; 41 } 42 43 } 44 | Popular Tags |