What Does Scriptlet Mean?

A scriptlet is a piece of software code that is used by a native Web page scripting language to perform a specific function or process. Scriptlets are primarily implemented in JavaServer Pages (JSP) and include variables, expressions or statements that are used only when requested by a certain client or process.

Techopedia Explains Scriptlet

Primary scriptlet functions include:

  • Declaring variables or objects for use by JSP pages
  • Defining valid expressions
  • Adding workable code