• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

doubt in tagfile

 
V Gala
Ranch Hand
Posts: 113
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Say true or false
if foo1.tag and foo2.tag both reside in web-inf/tag then container will consider them apart of the same tag library

I think it is false
what is the answer?

thanks in advance
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think it is false

The JSP container must generate an implicit tag library for each directory under and including /WEB-INF/tags/.
 
Ash More'
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
every directory under /WEB-INF/tags is considered a separate library.
For eg:
/WEB-INF/tags/a.tag
/WEB-INF/tags/dir1/b.tag
/WEB-INF/tags/dir1/c.tag
/WEB-INF/tags/dir2/d.tag

this will create 3 tag libraries
first library containing a.tag
second library containing b.tag and c.tag
third library containing d.tag
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Ash More'",
Welcome to the ranch. You may not be aware of the ranch Naming Policy. Please read it carefully and change your name accordingly. Thank you.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic