2011-05-27 68 views

回答

4

改为需要#{paramValues}。它指的是HttpServletRequest#getParameterValues()

<c:forEach var="p" items="#{paramValues['myArray']}"> 
    <h:outputText value="#{p}" />  
</c:forEach> 

<c:forEach var="p" items="#{paramValues.myArray}"> 
    <h:outputText value="#{p}" />  
</c:forEach>