jsp - What is the difference between a variable using declaration and a variable is declared using Scriptlet? -


what difference between variable using declaration , variable declared using scriptlet?

<%!  ... %>     :  in declaration <% ...   %>     :  in scriplet 

the first 1 same declaring instance variable in java class.

the second 1 same declaring local variable inside method in java class.


Comments

Popular posts from this blog

c# - How to set Z index when using WPF DrawingContext? -

razor - Is this a bug in WebMatrix PageData? -

visual c++ - Using relative values in array sorting ( asm ) -