aspose file tools*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Location of tag files Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Location of tag files" Watch "Location of tag files" New topic
Author

Location of tag files

Padma Priya
Ranch Hand

Joined: Feb 01, 2007
Posts: 113
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

Joined: Nov 24, 2005
Posts: 14687
    
  16

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.


[My Blog]
All roads lead to JavaRanch
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Location of tag files