• 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 ...
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
  • Piet Souris
  • salvin francis
  • fred rosenberger

a qstn on tag

Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What about this question:
If the Taglibrary descriptor has the following entry for the tag in question:
And the tag is used as follows:
<m:aTag />
What happens?
A Error complains that the attribute is mandatory
B Page compiles but is blank
C Page compiles and the tag is omitted
D None of the above
Answer is A.
Checked in jsp spec: require subelement is about "The value of the required element indicates if the nesting attribute is required or optional." But I don't think it's the reason
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
<required> ..this elemet can be optional but once the value of the element is "true" then the tag must have the attribute. thats why option A is correct
The happiness of your life depends upon the quality of your thoughts -Marcus Aurelius ... think about this tiny ad:
Devious Experiments for a Truly Passive Greenhouse!
    Bookmark Topic Watch Topic
  • New Topic