In the Servlet 2.4 specification SingleThreadModel has been deprecated, why?

Q

In the Servlet 2.4 specification SingleThreadModel has been deprecated, why?

✍: Guest

A

Because it is not practical to have such model. Whether you set isThreadSafe to true or false, you should take care of concurrent client requests to the JSP page by synchronizing access to any shared objects defined at the page level.

2013-07-16, 2011👍, 0💬