• Post Reply Bookmark Topic Watch Topic
  • New Topic

Tag Files Doubt

 
Sandeep Vaid
Ranch Hand
Posts: 392
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Q-3 in HFSJ, P-552 Q-8,
Option D) A tag file may NOT be placed in a JAR file in WEB-INF/lib directoer.

Actaully this is true but in the book it is marked as false. Why?
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't have the book, so I can't tell for sure. You can put a Tag File wherever you want. But it will not be recognized by the container if not put in the proper directory (and WEB-INF/lib is not the proper place to put them in)
 
Marc Peabody
pie sneak
Sheriff
Posts: 4727
Mac Ruby VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just read the chapter. Page 499 explains that tag files can be placed in the META-INF/tags folder of a jar placed in WEB-INF/lib.
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry. When reading it, I thought the answer was saying that the tag file was in WEB-INF/lib. Your rephrasing makes sense.
 
Sandeep Vaid
Ranch Hand
Posts: 392
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Mark. As Christophe said your rephrasing makes sense
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!