Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Error while accessing parameter values using JSTL forEach tag

 
Mike lothar
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
Error while accessing parameter values using JSTL forEach tag. this is the code i used to access parameter values.

c:forEach var="p" items="${paramValues}"

c:forEach var="v" items="${p.value}"

${v}
c:forEach
c:forEach

Thank you
Mike

Note: brackets removed due error in posting.
 
Nitish Bahadur
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What error do you get? I am posting my foreach.jsp, which is similar to yours. What happens when you invoke this with foreach.jsp?a=1&a=2&a=3&b=4&b=5&b=6

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic