Tuesday, December 18, 2001 10:21 PM
In a JSP page it is possible to declare a method in the declaration block and use that method just by calling name.It works !!!
The function is not static one.So by calling it simply is not violating OOP principles?
I have tried the same in an application there we have define a function static if we use it just by calling within the same class.