aspose file tools*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Tag Doubt 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 "Tag Doubt" Watch "Tag Doubt" New topic
Author

Tag Doubt

Manju Devarla
Ranch Hand

Joined: Dec 14, 2006
Posts: 85
Which of the elements defined within the taglib element of taglib descriptor file are required. Select the two correct answers.

a.tlib-version
b.jsp-version
c.uri
d.display-name

its a and b right..these are the 2 elements which come under taglib

But in the mock exam java beat, its a & c
Johan Pelgrim
Ranch Hand

Joined: Jul 07, 2003
Posts: 105

I checked the tldTaglibType ComplexType in http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd, there you can see that tlib-version and short-name are required and uri is optional! So none of the answers are correct. Is the mock exam covering the right spec?

This is also displayed in picture "Figure JSP.C-1 TLD Schema Element Structure" (3-16) on page 400 of jsp-2_0-fr-spec.pdf


Johan Pelgrim, The Netherlands
SCJP 1.4, SCWCD 1.4, SCBCD 5.0
Manju Devarla
Ranch Hand

Joined: Dec 14, 2006
Posts: 85
I think answers a & b are correct based on the page 428 of jsp-2_0-fr-spec

Can anyone confirm with this..
warren li
Ranch Hand

Joined: May 23, 2006
Posts: 128
I think only A is correct.There is no jsp-version at all.

The mandatory ones according to the jsp spec is tlib-version and short-name.
uri is not mandatory, the container can find the location of the tags in some other ways without uri.


SCBCD 1.3: 94%<br />SCWCD 1.4: 91%<br />SCJP 5: 95%
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

Guess what, I think you're looking at an old mock using version 1.2 of the DTD. In version 2.0, only tlib-version and short-name are mandatory.


[My Blog]
All roads lead to JavaRanch
 
 
subject: Tag Doubt