In a tld I can specify a function where the return type uses generic syntax:
It seems to work as expected.
However, if I try to specify a function where the parameter uses generics:
the
jsp page that uses the function returns an error:
HTTP Status 500 - The class java.util.List<java.lang.String> specified in the method signature in TLD for the function tt:upcaseStringList cannot be found. java.util.List<java.lang.String>
All the method does is take a List<
String> and uppercase its elements.
Is this even currently possible? I've found references on the web saying that generics can't be used in a TLD, but I'm thinking they may be out of date, since it works for me, as described, with a generic return type.
Servlet Engine: 3.0
JSP Engine: 2.2
Application Server: Apache Tomcat/7.0.55