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

Doubt regarding tld file

 
Prashanti Rao
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am preparing for SCWCD 5.0 and planning to give the exam this month end...I have this doubt regarding TLD files...
Can a tld file comprise more than 1 tag handler i.e., can it have <tag> appear more than once?
I used to think only one tag handler can come in a tld file since there is <uri> tag which is unique to the tld file...but recently while giving mock exam online i saw this piece of code...
<tag>
<name>hello</name>
<tag-class>test.HelloTag</tag-class >
</tag>
<tag>
<name>anotherHello</name>
<tag-class>test.AnotherHelloTag</tag-class>
</tag>
Is it possible? Please help!
 
Seetharaman Venkatasamy
Ranch Hand
Posts: 5575
Eclipse IDE Java Windows XP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Prashanti Rao:
Is it possible?


yes . and all the best for your exam
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can a tld file comprise more than 1 tag handler i.e., can it have <tag> appear more than once?

Do you remember what TLD means ? Tag Library Descriptor. It wouldn't be worth calling it a library if it could hold only one tag
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic