Scriptlet
Appearance
In Computer Science a scriptlet is another word for script. (Disambiguation for the word 'Script' is required')
In JavaScript, PHP, Batch_(Unix), DOS or just about any other interpreted language a piece of code can also be considered a scriptlet.
The scriptlet is the code which is being interpreted by the run time environment which controls the code execution.
In JavaServer Pages (JSP) technology, a scriptlet is a piece of Java-code embedded in the HTML-like JSP code.
The scriptlet is everything inside the <% %> tags. Between these the user can add any valid Scriplet i.e. any valid Java Code.
See also