• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

taglib & id attribute

 
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
 
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!
 
Don't destroy the earth! That's where I keep all my stuff! Including this tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic