Declaration of Methods in Declaration block without calling static and use it within service method is possible but how ?
0 posts in topic
Flat View  Flat View

Posted On:   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.

About | Sitemap | Contact