How many JSP scripting elements are there and what are they?
Types of Scripting Elements
� Expressions :
<%= expression %> :� Evaluated and inserted into the servlet�s output, i.e., results in something like out.print(expression)
� Scriptlets :
<% code %> :� Inserted verbatim into the servlet�s _jspService method (called by
� Declarations :
<%! code %> :- Inserted verbatim into the body of the servlet class, outside of any
� Directive :
<%@ directive %> :- To use "import" statements in JSPs.