File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "beanName vs class " Watch "beanName vs class " New topic
Author

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?
TIA
- 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: http://aspose.com/file-tools
 
subject: beanName vs class
 
Similar Threads
J2EE Certificate qs on useBean
Java Bean
jsp:useBean
beanName
<useBean> doubt