Is it possible to overload(function name) an EL function? Please look at following piece of TLD:
Same function name rollDice
<function>
<name>rollIt</name>
<function-class>com.Person</function-class>
<function-signature>int rollDice()</function-signature>
</function>
<function>
<name>rollIt</name>
<function-class>com.Person</function-class>
<function-signature>int rollDice(int)</function-signature>
</function>
No, EL functions do unfortunately not support method overloading (nor varargs). Give each function a different name.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With