• Post Reply Bookmark Topic Watch Topic
  • New Topic

Mandatory elements in tld file

 
Sub swamy
Ranch Hand
Posts: 121
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What are the mandatory elements in a tld file.
The elements

are mandatory. Do we need to have <shortname> and <tag> element also ? Cant i (theoretically) have a tld file with no tag element with say an EL function in that.

I find different sources mentioning different elements for this. Or is HFSJ the final word on this ?
 
M Jairam
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Subramanian:

Actually, the following are the only two elements that are mandatory in taglib. Note that "uri" is not mandatory:

<tlib-version>
<short-name>

You can either refer to the spec. or use the following link:

http://www.javaranch.com

hth
[ December 11, 2005: Message edited by: M Jairam ]
 
Sub swamy
Ranch Hand
Posts: 121
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Jairam - that was pretty useful.
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!