jsp - Overloading an EL function defined in TLD -
is possible overload(function name) el function? please @ 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 unfortunately not support method overloading (nor varargs). give each function different name.
Comments
Post a Comment