• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Doubt regarding tld file

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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!
 
Ranch Hand
Posts: 5575
Eclipse IDE Windows XP Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Prashanti Rao:
Is it possible?



yes . and all the best for your exam
 
Sheriff
Posts: 14691
16
Eclipse IDE VI Editor Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Where does a nanny get ground to air missles? Protect this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic