local vs static variable in JSP
Hi,
The below is a local variable :-
<%
int foo = 0;
%>
which is equivalent to initializing the variable with in the jspInit().
--------
the below become the class member variable
<%!
int foo = 0;
%>
Which is equivalent to declaring outside the jspInit()? Please clarify.
Thanks.