Win a copy of Kubernetes in Action this week in the Cloud/Virtualization forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Some Mistakes Mr.Pradeep@WHIZ  RSS feed

Ranch Hand
Posts: 91
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
2nd Test in SCWCD Simulator
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........
.....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?
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.....

Ranch Hand
Posts: 219
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Java Certification Test Simulators � J@Whiz, SCWCD@Whiz
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!