The isScriptingEnabled attribute determines if the scripting elements are allowed for use.
The default value (true) enables scriptlets, expressions, and declarations. If the attribute's value is set to false, a translation-time error will be raised if the JSP uses any scriptlets, expressions (non-EL), or declarations.
The attribute's value can be set to false if you want to restrict the usage of scriptlets, expressions (non-EL), or declarations −
<%@ page isScriptingEnabled = "false" %>