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

.tld vs .tag file.

 
Naveed Ali
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

- What is the difference between .tld file and tag file (.tag or .tagx) ?

- Whether the tag file (.tag or .tagx) is necessary whenever we are implementing tag liberaries or we can avoid it while using JSP 2.0 ?

- Can i find any free tutorial on tag liberaris using the latest techniques
of JSP 2.0 (good if open source & downloadable).

Thanx.

Naveed
 
Nathaniel Stoddard
Ranch Hand
Posts: 1258
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It sounds like you're confusing TLD and TAG files. TLDs are just meta-information for your custom tags (think "classes" here) and sometimes for TAG files themselves. TAG files are in the JSP language and look like little JSP files themselves. Unless you're putting TAG files in a JAR and putting that JAR somewhere in your web application, you won't need to create a TLD for it. You can check out the J2EE tutorial for more info.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic