You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have loaded all the public static methods of org.apache.commons.lang.StringUtils into my EL Context.
and when I try to use one of the overloaded 'split' method of it : value="${concatMulti(split('vamsi_,krishna,el,444',','))}" which ideally should split the specified string by comma.
But during runtime a exception is thrown saying Parameters for function 'split' do not match
And the same behaviour is observed for any overloaded method( tried to define some custom methods as well)
Could you please help me to find as to where I am missing.
Loaded all public static methods using below method
Hi,
I have loaded all the public static methods of org.apache.commons.lang.StringUtils into my EL Context.
and when I try to use one of the overloaded 'split' method of it : value="${concatMulti(split('vamsi_,krishna,el,444',','))}" which ideally should split the specified string by comma.
But during runtime a exception is thrown saying Parameters for function 'split' do not match
And the same behaviour is observed for any overloaded method( tried to define some custom methods as well)
Could you please help me to find as to where I am missing.
Loaded all public static methods using below method
private void loadAllPublicStaticMethods(Class classObj) {
Method[] methods = classObj.getMethods();
for(Method method : methods) {
if (method.getModifiers() == 9) {
functions.setFunction("", method.getName(), method);
}
}
}
The text was updated successfully, but these errors were encountered: