Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Location of tag files

 
Padma Priya
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi Everyone,

In the jsp specification it is given like this

For example, the following web application contains three tag libraries:
/WEB-INF/tags/
/WEB-INF/tags/a.tag
/WEB-INF/tags/b.tag
/WEB-INF/tags/foo/
/WEB-INF/tags/foo/c.tagx
/WEB-INF/tags/bar/baz/
/WEB-INF/tags/bar/baz/d.tag
The JSP container must generate an implicit tag library for each directory
under and including /WEB-INF/tags/.



My doubt is does it contain 3 tag libraries or 4

a.tag
b.tag
c.tagx
d.tag

Is d.tag not considered as a tag file by the container.

Thanks in advance

regards
Deepthi
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The container must generate implicit tag library descriptors for each directory. There are three directories, thus three tag library descriptors, thus three tag libraries. There are four tags, defined in three tag libraries.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic