This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Please check.... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Please check...." Watch "Please check...." New topic
Author

Please check....

Poonam Agarwal
Ranch Hand

Joined: May 12, 2008
Posts: 323
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?
Select 1 correct option.
A.JSP
B.jsp
C.any
D.text
E.The <body-content> subelement itself may be absent.

answer E
why option A is no the valid choice???

Thanks <br />Poonam Agarwal SCWCD 86%
Omar Al Kababji
Ranch Hand

Joined: Jan 13, 2009
Posts: 357
I think that for the new specifications, you can't use JSP code as the content of a custom tag, I am not 100% sure.


Omar Al Kababji - Electrical & Computer Engineer
[SCJP - 90% - Story] [SCWCD - 94% - Story] [SCBCD - 80% - Story] | My Blog
Poonam Agarwal
Ranch Hand

Joined: May 12, 2008
Posts: 323
hello rancher.. please confirm this
Poonam Agarwal
Ranch Hand

Joined: May 12, 2008
Posts: 323
anyone please??
Devaka Cooray
ExamLab Creator
Saloon Keeper

Joined: Jul 29, 2008
Posts: 2891
    
  19

Poonam, where did you get this question from?


Author of ExamLab ExamLab - a free SCJP / OCPJP exam simulator
My Home Page -- Twitter Profile -- JavaRanch FAQ -- How to Ask a Question
Poonam Agarwal
Ranch Hand

Joined: May 12, 2008
Posts: 323
javabeat mock
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

JSP is valid for classic tags, so I don't see why this answer wouldn't be correct.

hello rancher.. please confirm this

anyone please??

Please be patient and try to make some effort to choose a meaningful subject title next time.


[My Blog]
All roads lead to JavaRanch
Poonam Agarwal
Ranch Hand

Joined: May 12, 2008
Posts: 323
Sorry christophe if I bother you or any rancher. I got very confuse that's why was acted little bit in rush.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Please check....
 
Similar Threads
body-content
Scripting code in tag
Unable to initialize TldLocationsCache
question of custom tag
<body-content> in <tag> of <taglib> in .tld