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

TLDs and Tag Files

 
nagalatha mitta
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • 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
 
Dagbj�rn Nogva
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • 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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic