Hello all,

My objective is to write a utility function that return sum of numbers passed in parameter and call the function in JSP using EL.

Here is my Java method.
Java Code:
        public static int sumOfInt(int...x) {  
            int sum=0;  
            for(int a:x){  
            return sum;  
Here is my tld config

Java Code:
    int sumOfInt(int... )  

Here is my JSP
Java Code:
    <%@ page language="java" contentType="text/html; charset=ISO-8859-1"  
        pageEncoding="ISO-8859-1" isELIgnored="false"%>  
        <%@ taglib prefix="m" uri="gradeFunction" %>  
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">  
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">  
    <title>Insert title here</title>  
    ${ m:sumOfInt(85,34)} <br>  

When I call my JSP page on browser, I am getting "method was not found on the class". But when I modify the method for calculating sum of two numbers and its tld config, It was working fine.

I think, EL function is not working for var arg method.

Is this a open issue? If not, How can we fix it?