• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

taglib & id attribute

 
Verity smith
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 163
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Verity smith
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks once again!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic