Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

beanName vs class

 
Chris Salivar
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Only one of the beanName or the class can be present as the attribute of the useBean tag in JSP, whats the difference between the beanName attribute and the class attribute?
TIA
- Chris
 
Cameron Park
Ranch Hand
Posts: 371
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A class isn't necessarily a bean. There may be times when you need a HashTable through out a session(like HttpSession). Just an example.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic