• 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

TLDs and Tag Files

 
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi friends
can anybody clarify my doubt regarding where to place TLD files and Tag Files in dd if jared and if not jared


thanks in advance
 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Nagalatha,

can anybody clarify my doubt regarding where to place TLD files and Tag Files in dd if jared and if not jared



In JSP 2.0, which you need to know for the exam, I believe there is no case where a taglib mapping (TLD) needs to be declared in the DD (web.xml). However, it is supported by the taglib element, a subelement of the jsp-config element. This applies even for TLD files and TAG files located in a jar file.

There is one rule for TAG files located in a jar that you should be aware of. For such a file you need to explicitly declare the TAG file in an appropriate TLD file, otherwise the container is supposed to ignore the TAG file. For all other TAG files, there is no need to declare them in a TLD.

Then you have the rules for where to place TLD and TAG files, but since your question specifically asked about the DD, I leave them for now.

HTH,
Dagbj�rn
 
I've never won anything before. Not even a tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic