JSP Question:

Download Job Interview Questions and Answers PDF

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

Java JSP Programming Interview Question
Java JSP Programming Interview Question

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 Interview Questions And Answers PDF

Previous QuestionNext Question
How many JSP scripting elements are there and what are they? What are stored procedures? How is it useful?