Tenho um for
dentro de um JSP
que esta rertonando o seguinte erro:
An error occurred at line: 21 in the jsp file: /form.jsp
Type mismatch: cannot convert from element type capture#1-of ? to String
18:
19: <%
20: List<?> list = Collections.list(request.getParameterNames());
21: for (String paramName : list) {
22: if (!"url".equals(paramName)) {
23: %>
24: var input = document.createElement('input');
Porque acontecesse esse erro?