File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Satou could you check this? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Satou could you check this?" Watch "Satou could you check this?" New topic

Satou could you check this?

Rancy Chadha
Ranch Hand

Joined: Jul 12, 2006
Posts: 135
Hi Satou,
This is regarding the This Thread
(For Moderators: I was unsure if I posted reply to above mention thread would I get answer therefore I posted it as separate post).
The doubt was, the answer given as option E is incorrect as well, because as per JSP2.0 specs, <body-content> is a mandatory subelement of <tag> element, therefore it cannot be missed. So in other words this question has no answer.
Another doubt is, normally we define TLD for tag files only when they are package in jar file and the tld should contain <tlib-version> <short-name> and <tagfile> can it also contain <tag> element?
Please reply.

Thanks,<br />-Rancy
Christophe Verré

Joined: Nov 24, 2005
Posts: 14688

I agree that it is now mandatory. I only replied at the poster's question (about not being answer A), but I didn't even pay attention to the actual answer of the mock.

About your second doubt, I would say why not. The JAR can also contain some classic/simple tags, which you'll have to declare with <tag>

[My Blog]
All roads lead to JavaRanch
Rancy Chadha
Ranch Hand

Joined: Jul 12, 2006
Posts: 135
Thank you for your reply.
I agree. Here's the link:
subject: Satou could you check this?
jQuery in Action, 3rd edition