Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSPs and BeanInfo

 
Lucy C
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does anyone know if the JSP engine can use a BeanInfo class when using a JavaBean? I've just been writing getter and setter methods according to the design patterns til now.
 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
why not? you can implement the java.beans.BeanInfo interface or use the java.beans.SimpleBeanInfo class, using your class name with the BeanInfo suffix.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic