Forum

Number Of Page View:100,000+/Months
LOGIN |New User

Reply

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
service)
  � Declarations  :
      <%! code %>  :- Inserted verbatim into the body of the servlet class, outside of any
existing methods.
  � Directive :
      <%@ directive %>  :- To use "import" statements in JSPs.