JSP Scripting Element



Scripting Elements :

  1. In order to provide the ability to insert a piece of code in JSP we need Scripting Elements.
  2. In JSP, there are three types of scripting elements
Element Explanation
Scriptlet Element Used to execute Java Code inside JSP
Expression Element Code placed within expression tag is written to the output stream of the response
Declaration Element Used for declaration of the variables

Please refer the links to view the detailed chapters.