• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Que on TagHandlers

 
Sagar kanchi
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I came across the following que in a Test.

Q)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?
A)JSP
B)jsp
C)any
D)text
E)The <body-content> subelement itself may be absent

I thought either A or B would work. But the answer given is E

Wht do you think?
 
PRavi kumar
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I thing right answer is A and E
 
Vassili Vladimir
Ranch Hand
Posts: 1585
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Please check this.

In which test was this question mentioned ? Please can you post a link, cause I'm looking for more mock exams ...

Thanks in advance ...

Best of luck ...
 
uday ogra
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Even I will go with A and E....
It has to be JSP and not jsp(its in uppercase).....
Plus if nothing is specified then the default value is also JSP....
 
Sagar kanchi
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Vassili,
This question is from SCWCD mock exams found at www.jdiscuss.com
 
Sagar kanchi
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Vassili,
This question is from SCWCD mock exams found at www.jdiscuss.com
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic