• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Qn on tld files

 
Chandrakanth
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,

if we have a same uri for the 2 tld files, I am not getting any errors.

Is it container specific or there should be error while deploying the application
 
Dilshan Edirisuriya
Ranch Hand
Posts: 299
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think you can have same uri repeated but rest of the tags should not be identical but I don't know whether it's vendor specific or not. It is working in my case also.
 
Gaurav Gambhir
Ranch Hand
Posts: 256
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If TLD files with the same URI value are present in or under the /WEB-INF
directory and also in a JAR file in the /WEB-INF/lib directory, the decision
of which one to use is indeterminate. Avoid this situation.

Reference
 
Dilshan Edirisuriya
Ranch Hand
Posts: 299
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
but when you enter the tag name it recognizes the appropriate uri
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic