A scriptlet can have any number of statements, variable or method declarations, or expressions that must be valid in the page scripting language.
A scriptlet, you can have any of the following:
Write any text, HTML tags, or JSP elements outside the scriptlet.
Scriptlets are executed when the JSP container
processes the request. Output (if) generated by scriptlet is stored in the
To know more about jsp scriptlet go to:
Liked it! Share this Tutorial