Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Does Anyone Successfully Deploy TLD in JAR

 
Alec Lee
Ranch Hand
Posts: 569
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
According to HF, we can put TLD files in META-INF of JAR place inside the lib/ directory. I tried to create a jar containing only META-INF and my tld's and put that into WEB-INF\lib\. I tested with tomcat 5.0.29. However, it seems tomcat does recognise the tld deployed this way. It only accept the tld that is put directly inside WEB-INF\.

Did I miss some steps? Does anyone successfully place tld inside jar?
 
Alec Lee
Ranch Hand
Posts: 569
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
sorry some typo. I mean tomcat does NOT recognise my tld placed inside a jar which is under lib\
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic