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 fixthese problems would require significant recoding, but you are already behind schedule. Which JSP codesnippet 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’ %>
正确答案:A
答案解析:有
微信扫一扫手机做题