This week's giveaway is in the Programmer Certification (OCPJP) forum.
We're giving away four copies of Java Mock Exams (software) and have David Mayer on-line!
See this thread for details.
Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) 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

 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!