SPIRO THE TECH GURU

Back

Define JSP Declaration Tag

By Admin on

The JSP declaration tag is used to declare fields and methods.


The code written inside the jsp declaration tag is placed outside the service() method of auto generated servlet.


So it doesn't get memory at each request.

The syntax of the declaration tag is as follows:


<%! field or method declaration %>

SPIRO Google Plus