Multiple choice technology programming languages

Is the following statement true or false. If the isThreadSafe attribute of the page directive is false, then the generated servlet implements the SingleThreadModel interface.

  1. True

  2. False

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

When isThreadSafe="false" is set in the page directive, the JSP container generates a servlet implementing SingleThreadModel. This interface ensures thread safety by serializing requests through the servlet, though it's deprecated in modern servlet specs.