https://issues.apache.org/bugzilla/show_bug.cgi?id=56147
Bug ID: 56147 Summary: Problem Invoking overloaded methods using EL Product: Tomcat 7 Version: 7.0.42 Hardware: PC Status: NEW Severity: normal Priority: P2 Component: Servlet & JSP API Assignee: dev@tomcat.apache.org Reporter: ujj...@gmail.com Using apache-tomcat-7.0.42 on Windows 7 64bit Using the below code in JSP : <c:forEach var="item" items="${listItems }"> <p>${item.someMethod("h") }</p> </c:forEach> results in: javax.el.ELException: Cannot convert h of type class java.lang.String to class java.lang.Class I have the below methods : public void someMethod(String x) { someMethod(methodThatReturnClass(x)) } public void someMethod(Class clz) { System.out.println("Class called"); } -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org