gudii9
asked on
jsp scriptlet
Hi,
does declaring jsp code like below creates the corresponding servlet java code where aCount as static variable?
<%!
private int aCount = 0;
%>
How to create it as non static variable.
when we need to create as static, when we need to create as non static.
Please advise.
Any links resources ideas highly appreciated. Thanks in advance
does declaring jsp code like below creates the corresponding servlet java code where aCount as static variable?
<%!
private int aCount = 0;
%>
How to create it as non static variable.
when we need to create as static, when we need to create as non static.
Please advise.
Any links resources ideas highly appreciated. Thanks in advance
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Digesting the link
ASKER
No, it will create an instance variable.
how to create static variable in the jsp. Please advise