I dont understand the answer ??
package com.example;
public class MyFunctions {
public static
String repeat(int x,String str) {
// methoed body
}
}
and given the
jsp:
<%@ taglib uri="/WEB-INF/myfuncts" prefix="my" %>
<%insert code here --%>
a) ${repeat(2, "420")}
b) ${repeat("2", "420")}
c) ${my:repeat(2, "420")}
d) ${my:repeat("2", "420")}
e) A valid invocation CANNOT be determined.
I thought the answer was 2 & 3, becouse the we can�t se the function in the DD, and maybe they call the "name" in the DD "repeat" the same name as the methoed ???
The answar was E "Option E is correct, the nessesary mapping information is not known" ???
Can somebody tell me whats wrong ???
Frank