What is isThreadSafe attribute in JSP?

JSPJava 8Object Oriented ProgrammingProgramming

The isThreadSafe option marks a page as being thread-safe. By default, all JSPs are considered thread-safe. If you set the isThreadSafe option to false, the JSP engine makes sure that only one thread at a time is executing your JSP.

The following page directive sets the isThreadSafe option to false −

<%@ page isThreadSafe = "false" %>
raja
Published on 20-Mar-2019 08:05:25
Advertisements