Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Use of type attribute in useBean

 
M Bala
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 ]
 
hover cheng
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