SingleThreadModel Deprecated


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



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.

2007-04-03, 5115👍, 0💬