
What is a JSP Declaration?. Explain it.

Hi,
The answer is:
The JSP declaration used to craete one or more variable and methods that are used later in the jsp file. If you want to create variable or mathod then it is must contain at least one complete declarative statement.
Syntax: <%! somedeclarations %>
Example: <%! float i = 1.2; %>
Thanks