• Post Reply Bookmark Topic Watch Topic
  • New Topic

Is realy Enthuware commercial SCWCD 1.4 test studio such a ... crap??  RSS feed

Krzysiek Hycnar
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I was considering buying the product, but received a few screen shoots from my friend who bought it a few months ago. Now I'm wondering if those guys from Enthuware really passed the SCWCD.

Cannot include them here (as they're jpg's) but will describe a few examples with my friend's comments.


Which of the following directives are applicable only to tag files?

Select 2 correct options
a taglib

b tagfile
No such directive.

c page

d include

e forward
There is no forward directive. There is a forward action.

General Comments
Only the following directives are valid for tag files:
taglib, include, tag, attribute, variable.

My friend's comment:
The correct answers by Enthuware are (a) and (d), but... taglib can be used on regular JSP pages (not in tag files ONLY as the question specifies)


*Consider the following code for a tag handler.

public class TestTagHandler extends TagSupport
public int doStartTag()
//insert code here
//other valid code
//other valid code
Which of the following statements when inserted in the above code independent of each other will get the value of a session scoped variable 'cartid'?

Select 2 correct options

a String cartid = (String) pageScope.getAttribute("cartid");
Must use pageContext.getAttribute("cartid",PageContext.SESSION_SCOPE);

b String cartid = (String) session.getAttribute("cartid");

c String cartid = (String) pageScope.findAttribute("cartid");

It will search for the attribute in page, request, session, and context scopes in that order. If the attribute is in the session scope, it will be returned.

d String cartid = (String) pageScope.getAttribute("cartid", "session");
Must use (String) pageContext.getAttribute("cartid",PageContext.SESSION_SCOPE);

e String cartid = (String) pagecontext.getAttribute("cartid", PageContext.SESSION_SCOPE);

My friend's comment:
The correct answers by Enthuware are (b) and (e)
(e) is almost ok, would be absolutely ok if we consider pagecontext instead pageContext just a typo, but do you know of a field named "session" hidden there in TagSupport as the the (b) suggests??


Which of the following correctly retrieves "data" attribute from session in the servlet code and JSP page code?
(Assume that request refers to the HttpServletRequest object.)

Select 2 correct options
a request.getSessionAttribute("data"); and ${sessionAttribute("data"}

b request.getSession().getAttribute("data"); and ${session.data}

The name of the implicit object that refers to session in EL is sessionScope (and not session). For regular sciptlets, it is indeed session.

c request.getSession().getAttribute("data"); and ${session.get("data")}

d request.getAttribute("session", "data"); and ${sessionScope.data}

e request.getSession().getAttribute("data"); and ${sessionScope.data}

My friend's comment:

Enthu marks answers (b) and (e) as correct ones despite the explanation below (b) (which is visible after you finish the test) that says why (b) is... incorrect.


Consider the following code appearing in a JSP file:

request.setAttribute("names", new String[]{ "A", "B", "C" } );
request.setAttribute("index", "1");
<h1><!-- insert code here --></h1>
Which of the following statements will print B in inserted in the above JSP page?

Select 3 correct options
a ${names.1}

b ${names[1]}

c ${names.index}

d ${names[index]}

e ${names.$index}

f ${names[$index]}

My friend's comment:

Enthuware list (b), (c), and (d) as correct answers, but... can you really access array elements from EL using the ". convenience operator" (AFIK maps and beans only)??

Do you have similar experience with this product?? Looks like it's not worth to buy it
What are other options (in general testing software) to prepare for SCWCD 1.4 could you suggest? I know about WhizLabs, but they had preparation kit for SCWCD 1.3 not 1.4.

Premkumar Gopal
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In Enthuware's website it is mentioned that they have released a new version for SCWCD (310-081). Awaiting to hear from the persons who have used the latest version of Enthuware. If one goes by the review available for the 310-080, I expect them to do better for the latest version.

Sivasundaram Umapathy
Ranch Hand
Posts: 360
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Whizlabs has simulators for both SCWCD 1.3 and 1.4 exams.

All the best
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!