Reputation: 1235
I have a JSP-Page which contains the following
<td>${MyClass.mymethod(false)}</td>
and MyClass
contains the following:
public static String mymethod(boolean param)
{
//...
}
public static String mymethod(String param)
{
//...
}
Now when I display the JSP-Page mymethod(String param)
is called. How can I make the false
a boolean
value?
Upvotes: 1
Views: 311
Reputation: 320
Method names being put in a Map as keys.So there is no function overloading in el.or try giving different names for function in xml.
Upvotes: 1