This week's book giveaway is in the Artificial Intelligence forum.
We're giving away four copies of Pragmatic AI and have Noah Gift on-line!
See this thread for details.
Win a copy of Pragmatic AI this week in the Artificial Intelligence forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Junilu Lacar
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Ganesh Patekar
  • Tim Moores
  • Pete Letkeman
  • Stephan van Hulst
Bartenders:
  • Carey Brown
  • Tim Holloway
  • Joe Ess

Use of type attribute in useBean  RSS feed

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is the use of type attribute in <jsp:useBean>?
I understand that we specify bean class or superclass of bean class there. But what I'm wondering is practical usage.
Thanks in advance.
Murali
[ January 18, 2004: Message edited by: M Bala ]
 
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Originally posted by M Bala:
What is the use of type attribute in <jsp:useBean>?
I understand that we specify bean class or superclass of bean class there. But what I'm wondering is practical usage.


In my opinion, the nice aspect of the "type" provided is what the "interface" provided in java. As one of the basic feature of OO, polymorphysm support run-time type binding. I think "type" is to achieve the same goal. Correct me if i am wrong.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!