aspose file tools*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes taglib  & id attribute 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 "taglib  & id attribute" Watch "taglib  & id attribute" New topic
Author

taglib & id attribute

Verity smith
Greenhorn

Joined: May 27, 2003
Posts: 18
The web.xml file can include a map between URIs and TLD resource paths.The map is described using the taglib element of the Web Application Deployment descriptor in WEB-INF/web.xml. Which of the following statements are true regarding the "taglib" element?
These are the right answers(No Explanation)
1--It can have "id" as its attribute.
2---The sub-elements of "taglib" element are:
taglib-uri
taglib-location
can someone please explain why number i is true!
Thanks
Amer Khan
Ranch Hand

Joined: Apr 05, 2003
Posts: 163
The DTD for taglib element of DD in web.xml is as follows:
<!ELEMENT taglib (taglib-uri,taglib-location )>
<!ATTLIST taglib id ID #IMPLIED>
It tells that the 2 sub-elements of taglib element are: taglib-uri and taglib-location. Also it can have "id" as its attribute.


<i>Dare to dream - everything that exists today,was once a figment of someone's imagination, nobody says tomorrow can't be a figment of your today.</i>
Verity smith
Greenhorn

Joined: May 27, 2003
Posts: 18
Thanks once again!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: taglib & id attribute