Syntax error What is isThreadSafe attribute in JSP?

What is isThreadSafe attribute in JSP?



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" %>
Updated on: 2019-07-30T22:30:25+05:30

2K+ Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements