• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Regarding TAG file

 
rachna jain
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All



PLease clarify if this stamenet is right or wrong



a tag file foo.tag bundled in jar file but not defined in tld triggers container translation error


answer says its wrong but i think its right
 
Sebastian Janisch
Ranch Hand
Posts: 1183
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
if a tag file is in a jar, it is not enough to import it using



you have to create a TLD file in the (i guess) META-INF folder of the jar, otherwise your code will raise an evil exception
 
rachna jain
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes even i think it will raise error if we we will use tag file in jar without TLD

answer is incorrect i just wanted to confirm

Thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic