*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Which one is correct? 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 "Which one is correct?" Watch "Which one is correct?" New topic
Author

Which one is correct?

Thiru Thangavelu
Ranch Hand

Joined: Aug 29, 2001
Posts: 219
How this should be answered in the real exam?

1. Which JSP directive declares the usage of a tag library in a JSP page?
Answer
taglib
<tablib>
<taglib />


2) Which method is used to get initialization parameters?
Answer
getInitParameter
getInitParameter(String)
getInitParameter(String);
public String getInitparameter(String);


3. I have heard many people saying that they have got many questions in design patterns which are [bold]not[/bold] in the objectives. If so, what are the other patterns can be expected in the exam other than the 4 mentioned in the objectives?
4. Is this information correct?
No of questions : 59
Pass mark : 61
Duration : 90 Mins
5) Regarding drag and drop questions, any idea how it looks like? So much confused about this.
6) Is it true that I can [bold]SAFELY[/[bold] avoid sun marketting questions? How many questions are they?
I am planning to take the exam tomorrow. So is somebody can give me the answer for this questions, I really appreciate it.
[ December 17, 2002: Message edited by: Thiru Thangavelu ]

Thanks,<br />Thiru<br />[SCJP,SCWCD,SCBCD]
Bhushan Jawle
Ranch Hand

Joined: Nov 22, 2001
Posts: 249
Hi,
I will try to answer those I know
1. Which JSP directive declares the usage of a tag library in a JSP page?
Answer
taglib
Actually it is <%taglib .....%> there is no equivalent xml sysntax
2) Which method is used to get initialization parameters?
Answer
getInitParameter(String); (It returns a string)

Rest I don't know as I haven't given the exam yet :-)
Bhushan
Thiru Thangavelu
Ranch Hand

Joined: Aug 29, 2001
Posts: 219
Thanks Bhushan.
1)For the first question, I am not talking about <taglib> directive of JSP. I am talking about <taglib> which is declared in web.xml for tag library descriptors.
2)I am not sure whether your answer is also correct or not.
Anyone suggest answers for my alls/any questions?
Bhushan Jawle
Ranch Hand

Joined: Nov 22, 2001
Posts: 249
Regarding answer 2> u can refer to http://java.sun.com/products/servlet/2.1/api/javax.servlet.ServletConfig.html, that will make u feel sure about my answer :-)
Thiru Thangavelu
Ranch Hand

Joined: Aug 29, 2001
Posts: 219
Hi Bhushan,
I know the API has this method. But when this question is asked fill in the blank question, how do you write it? I mean only the method or with parameters or with () or with ; ... etc.
I just want to know what exactly I need to write when i have this type of questions?
 
jQuery in Action, 2nd edition
 
subject: Which one is correct?