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

in taglib directive, uri can be a path

 
Napu Sun
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In taglib directive,
uri value must be match the uri defined in the TLD.
Also uri value can be the path of TLD.
I am wondering whether the second statement is correct.
 
Saurabh Kumar
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes,uri value can be the path of TLD.
If URI is pathname, it is interpreted relative to the root of the web application and should resolve to a TLD file directly, or to a JAR file that has a TLD file at location META-INF/taglib.tld.

Thanks and regards,
Saurabh
 
Napu Sun
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks, Saurabh.
So uri can be:
1.uri in the tld
2.path of the tld
3.path of the jar which includes tld.
 
Napu Sun
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you Saurabh. I got it.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic