Expression Language – call parent method

In WildFly9 environment we have a JSP with a working code like this:

${users.number}
${users.getNumber()}

If we have a property in the parent class, than we get it like this

${users.parentNumber}

But if we try to call the public getter property method as a method, than we get javax.el.MethodNotFoundException

${users.getParentNumber()}

Is this a bug or maybe I have miss something from the EL documentation?


Source: jsp

Leave a Reply