File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Java Interview Guide this week in the Jobs Discussion 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.
I agree. Here's the link:
subject: beanName vs class
It's not a secret anymore!