Friday, March 13, 2009

In the Servlet 2.4 specification SingleThreadModel has been deprecates,

Question :In the Servlet 2.4 specification SingleThreadModel has been deprecates,
why? (JSP)

Answer :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.

No comments: