Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
The moose likes Servlets and the fly likes beanName vs class Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "beanName vs class " Watch "beanName vs class " New topic

beanName vs class

Chris Salivar
Ranch Hand

Joined: May 25, 2001
Posts: 34
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?
- Chris
Cameron Park
Ranch Hand

Joined: Apr 06, 2001
Posts: 371
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.
Have you tried LearnNowOnline?
subject: beanName vs class