More on Scriptlets
Note that expressions never have semicolons.
Scriplets within <% and %> can have declarations, expressions, or any other kind of code fragment.
- <% String name = null; if ( request.getParameter(“name”) == null) { %>
- you can use any of the JSP implicit objects or classes imported by the page directive, declared in a declaration, or named in a <jsp:useBean> tag.