Oracle
1Z0-899 · Question #120
1Z0-899 Question #120: Real Exam Question with Answer & Explanation
Sign in or unlock 1Z0-899 to reveal the answer and full explanation for question #120. The question stem and answer options stay visible for context.
Question
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?
Options
- A<%@ page isThreadSafe='false' %>
- B<%@ implements SingleThreadModel %>
- C<%! implements SingleThreadModel %>
- D<%@ page useSingleThreadModel='true' %>
- E<%@ page implements='SingleThreadModel' %>
Unlock 1Z0-899 to see the answer
You've previewed enough free 1Z0-899 questions. Unlock 1Z0-899 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.