• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

taglib & id attribute

 
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks once again!
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic