File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Some Mistakes Mr.Pradeep@WHIZ 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 "Some Mistakes Mr.Pradeep@WHIZ" Watch "Some Mistakes Mr.Pradeep@WHIZ" New topic
Author

Some Mistakes Mr.Pradeep@WHIZ

anand chawla
Ranch Hand

Joined: Oct 19, 2000
Posts: 91
2nd Test in SCWCD Simulator
Q29.
Which of the following JSP directives can be used to make the service() method implementation of a JSP threadsafe?
1.<@ page isThreadSafe="false" %>
2.<@ page isThreadSafe="true" %>
3.<@ page isSingleThread = "true" %>
4.<@ page isSingleThread = "false" %>
it says answer 1 is correct but I suppose all are wrong as
it should be
<%@ page isThreadSafe="false" %>
well small mistake but should be professional u know....

I am getting Question no 14 and Question no 31 same...
Q14 and Q31....
In a multi-tiered application, server-side components, such as enterprise beans, encapsulate non-trivial business logic and business data. These components expose their interfaces and thus the complexity of the distributed services clients.
The problems resulted by the above scenario are best solved by adopting which of the following design patterns.
------------------------------------

select any three
By the way all of us would Be SCJP before writing this exam..then why this horrible question........
Question46
.....Which of the following conditional statements for JSP are correct syntactically?
1.<% if(true) %>
I am fine
<% else %>
You are fine
2.<% if(true) { %>
I am fine
<% } else {%>
You are fine
<% } %>
3.<% if(true) (%>
I am fine
<% ) else ( %>
You are fine
<% ) %>
4.<% if(true) { System.out.println("I am fine");} else { System.out.println("You are fine");} %>

well the correct answers are 1,2,4
this is ridiculous....
---------------------------------------------
Question 53...
Which of the following are valid sub-elements for <exception-type> element used in DD (web.xml file) of a web application?
1.<error-page>
2.<error-code>
3.<exception-name>
4.<error-type>
5.All of the above
6.None of the above

according to me the correct answer is 6...
but ur software shows E...thats is 5...but in explanation of answers u have mentioned that the answer is None of the above...but I m getting all of the above highlighted when I gave the exam....
----------------------
Question 1....
Every JSP tag has a corresponding XML-based tag. For the JSP code below, selects the corresponding XML tag.
<% System.currentTimeMillis(); %>
the answer is <jsp:scriptlet> System.currentTimeMillis(); </jsp:scriptlet>

but again I get a question....
Which of the following is the correct xml statement corresponding to the code given below for a JSP?
<%= System.currentTimeMillis() %>
<jsp:expression> System.currentTimeMillis() </jsp:expression>
well why just change a little thing in a same question...just to fill in number of questions.....

Pradeep Chopra
Ranch Hand

Joined: Nov 19, 2000
Posts: 219
Dear Anand,
Thanks for your valuable feedback.
Well most of the mistakes you reported have been corrected. I will let other corrections done very soon and will mail you for download.
Our apologies for not informing you earlier.
Thanks and regards
Pradeep
Java Certification Test Simulators � J@Whiz, SCWCD@Whiz http://www.whizlabs.com/jwhiz

Whizlabs Software<br />Success, certified!<br /> <br />Web: <a href="http://www.whizlabs.com" target="_blank" rel="nofollow">http://www.whizlabs.com</a>
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Some Mistakes Mr.Pradeep@WHIZ
 
Similar Threads
XML equivalent tags!!
WhizLabs Trial Simulator Questions
Wierd answers from Examulator
Head First - Final Mock Exam, Q55
how in JSP I translate an html checkbox to true/false in java