Declaration Declares a variable or method valid in the page scripting language.
Description A declaration declares one or more variables or methods for use later in the JSP source file. 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. The declaration must be valid in the scripting language used in the JSP file. In JSP 1.0, you must use the JavaTM programming language for scripting, and declarations must conform to the Java Language Specification .