Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Doubt on tag

 
Manish Agarwal
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

Please clarify the two points:

1.A file named foo.tag ,bundled in a JAR file but NOT defined in a TLD,triggers a container translation error.

2.If files foo1.tag and foo2.tag both reside in /WEB-INF/tags/bar,the container will consider them part of the same tag library.

In my opinion both the statements are correct. What is your opinion.
 
Manish Agarwal
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Guys, any answers???
 
Sri Kan
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Container can locate tag files under /WEB-INF/tags and sub directories. If tags are in jar file(s) they must be defined in TLD for container to be able to locate.
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Patience is a Virtue
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic