I have a bean with a method like below:
public String merge(Object... l) {
return StringUtils.join(l);
}
now I want to call it in JSP EL like:
${bean.merge('1','2','3')}
but the page cause an IndexOutOfBoundsException
.
Is it because JSP EL doesn't support variable-parameters feature, or just a bug in the JSP EL implementation in Apache Tomcat 7.0.19?