Scripting Element


Prev Tutorial Next Tutorial

Scripting Element

In JSP, java code can be written inside the jsp page using the scriptlet tag. JSP Scripting element are written inside <% %> tags. These code inside <% %> tags are processed by the JSP engine during translation of the JSP page.

Jsp scripting elements are classified into two types are;

  • Language Based Scripting Element
  • Advance Scripting Elements (Expression Language)

Language Based Scripting Element

These are used to defined script in jsp page, this is traditional approach to define the script in jsp page.

Language Based Scripting Element are classified into 4 types, they are;

  • Comment Tag
  • Declaration Tag
  • Expression Tag
  • Scriptlet Tag

Scripting Element Detail

JSP Scripting Element
Prev Tutorial Next Tutorial

Advertisements




Facebook Likes

Advertisements