• Post Reply Bookmark Topic Watch Topic
  • New Topic

Doubt in EL Question  RSS feed

 
Padma priya Gururajan
Ranch Hand
Posts: 437
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have a doubt in EL question. A developer wants to use EL to invoke a function using ${my:blood("foof")};

Now, how is that the method invoked by this function must be static?



Thanks in advance.
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Because there is no object that could be used to invoke a non-static method with.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!