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

Tag Files

 
Sayak Banerjee
Ranch Hand
Posts: 292
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If a tag file is deployed in a JAR(under WEB-INF/lib) under META-INF/tags and the tag-file has a TLD(with declarations including <uri>tagFile</uri> what do we mention in the JSP that calls this tag file....
Do we put <%@ prefix="myTag" uri="tagFile" %>
OR
Do we put <%@ prefix="myTag" tagdir="/META-INF/tags" %>

I think it would be the former one but I'd just like to confirm.....many thanks in advance for anybody answering this
 
Bosun Bello
Ranch Hand
Posts: 1511
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You still use the former. The container will resolve it.
 
Sreeraj G Harilal
Ranch Hand
Posts: 310
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you deploy tag files using jar then you must use uri not tagdir
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic