• 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

Enthuware Q

 
Ranch Hand
Posts: 124
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
For a tag to accept any valid jsp code as its body, what should be the value of <body-content> for this tag's taglib descriptor?

What should be the answer?
 
Ranch Hand
Posts: 201
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
leave it blank or supply JSP
 
deepa raj
Ranch Hand
Posts: 124
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
how do you know it is the Simple Tag or Classic tag ?
 
Ranch Hand
Posts: 295
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
tag's taglib descriptor will be written by the developer so he know whether it is Simple or Classic tag.

The answer would be JSP.
Sandeep - But how can it will be empty to accept all things inside JSP?
[ August 06, 2008: Message edited by: Chintu sirivennela ]
 
deepa raj
Ranch Hand
Posts: 124
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Answer for this question is "Leave it blank"

For supplying JSP , it should be a Clssic Custom tag.

AS per Question , nothing has been explicitly said like Simple /classic tags.That is the reason , i have asked how do you find out from the question.

hi sandeep , can you please help ?
 
Sandeep Bhandari
Ranch Hand
Posts: 201
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by deepa raj:
Answer for this question is "Leave it blank"

For supplying JSP , it should be a Clssic Custom tag.

AS per Question , nothing has been explicitly said like Simple /classic tags.That is the reason , i have asked how do you find out from the question.

hi sandeep , can you please help ?



yes you are right that the answer differs for classic and custom tags and since the question doesn't say that its a custom tag we can't be sure and that's way I said JSP/Leave Blank. Very few chances for it to be a real exam question but then we have to live with imperfections.
 
deepa raj
Ranch Hand
Posts: 124
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
will the "Leaving Blank" the option assign defalut value for body-content right ??

How it will be the correct option.We need some more explanation on this option.

can somebody please help?
 
Ranch Hand
Posts: 189
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Try this, am not very much sure but it will clear your doubt by some degree.
BodyTagContent
reply
    Bookmark Topic Watch Topic
  • New Topic