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’ %>
Explanation: