310-083 SCWCD Braindump
ExamSoon 310-083 Exams
SUN Sun Certified Web Component Developer for J2EE 5
O rder : 310-083 Exam
Practice Exam: 310-083
Exam Number/Code: 310-083
Exam Name: Sun Certified Web Component Developer for J2EE 5
Questions and Answers: 276 Q&As
Free 310-083 Braindumps
Exam : SUN 310-083
Title : Sun Certified Web Component Developer for J2EE 5
1. You have created a JSP that includes instance variables and a great deal of scriptlet code. Unfortunately, after
extensive load testing, you have discovered several race conditions in your JSP scriptlet code. To fix these problems
would require significant recoding, but you are already behind schedule. Which JSP code snippet can you use to
resolve these concurrency problems?
A. <%@ page isThreadSafe='false' %>
B. <%@ implements SingleThreadModel %>
C. <%! implements SingleThreadModel %>
D. <%@ page useSingleThreadModel='true' %>
E. <%@ page implements='SingleThreadModel' %>
2. Click the Exhibit button.
The resource requested by the RequestDispatcher is available and implemented by the DestinationServlet.
What is the result?
A. An exception is thrown at runtime by SourceServlet.
B. An exception is thrown at runtime by DestinationServlet.
C. Only "hello from dest" appears in the response output stream.
D. Both "hello from source" and "hello from dest" appear in the response output stream.
3. The sl:shoppingList and sl:item tags output a shopping list to the response and are used as follows:
12. <sl:item name="Bread" />
13. <sl:item name="Milk" />
14. <sl:item name="Eggs" />
The tag handler for sl:shoppingList is ShoppingListTag and the tag handler for sl:item is ItemSimpleTag.
ShoppingListTag extends BodyTagSupport and ItemSimpleTag extends SimpleTagSupport.
Which is true?
A. ItemSimpleTag can find the enclosing instance of ShoppingListTag by calling getParent() and casting the result to
B. ShoppingListTag can find the child instances of ItemSimpleTag b