Using jspInit and jspDestroy
Using jspInit and jspDestroy
<%!
int number;
public void jspInit()
{
number = 5;
}
public void jspDestroy()
{
number = 0;
}
%>
<%
out.println("The number is " + number + "
");
%>