JSP Question:

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

Tweet Share WhatsApp

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.

Download Java JSP Programming PDF Read All 26 Java JSP Programming Questions
Previous QuestionNext Question
How many JSP scripting elements are there and what are they? What are stored procedures? How is it useful?