You can call a static method using the syntax @class@method(args). If
you leave out class, it defaults to java.lang.Math, to make it easier to
call min and max methods. If you specify the class, you must give the
fully qualified name.

If you have an instance of a class whose static method you wish to call,
you can call the method through the object as if it was an instance method.

If the method name is overloaded, OGNL chooses the right static method
to call using the same procedure it uses for overloaded instance methods.

评论
发表评论

您还没有登录,请登录后发表评论

tapestry
搜索本博客
最近加入圈子
存档
最新评论