This chapter describes the details of the scripting elements when the language directive value is "java." The scripting language is based on the Java programming language (as specified by "The Java Language Specification"), but note that there is no valid JSP page, or a subset of a page, that is a valid Java program. The details of the relationship between the scripting declarations, scriptlets, and scripting expressions and the Java programming language are explained in detail in the following sections. The description is in terms of the structure of the JSP page implementation class; recall that a JSP container need not necessarily generate the JSP page implementation class but it must behave as if one existed. |