Noun
scriptlet (plural scriptlets)
(computing) A small script, especially a section of Java code embedded in JavaServer Pages code.
A scriptlet is a fragment of Java code that is run when the user requests the page. Source: Internet
For example, any Java if/for/while blocks opened in one scriptlet must be correctly closed in a later scriptlet for the page to successfully compile. Source: Internet