Declaration Declares a variable or method valid in the scripting language used in the page.
In JSP 1.0, the only language you can use to write declarations is Java. A declaration must contain at least one complete declarative statement. You can declare any number of variables or methods within one declaration tag, as long as they are separated by semicolons. In general, a declaration has page scope, so it is valid in scriptlets, expressions, and other declarations within the same JSP page. Declarations have translation unit scope if the JSP file includes static files with the Include Directive .