aspose file tools*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Doubt on tag Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Doubt on tag" Watch "Doubt on tag" New topic
Author

Doubt on tag

Manish Agarwal
Ranch Hand

Joined: Jun 22, 2004
Posts: 34
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.


Thanks and Regards,<br />Manish Agarwal<br />SCJP 1.4 (100%)<br />SCWCD 1.4 (98%)<br />SCBCD 1.3 (Preparing)
Manish Agarwal
Ranch Hand

Joined: Jun 22, 2004
Posts: 34
Guys, any answers???
Sri Kan
Ranch Hand

Joined: Feb 20, 2007
Posts: 30
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.


Cheers,<br /> <br />SCJP 1.5 (83% Huh !)<br />SCWCD 1.4 (81% that's it ??)
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14688
    
  16

Patience is a Virtue


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