This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

struts dynavalidatorBean with HashMap & JSTL  RSS feed

 
Hiren Pathak
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Guys,
I am using a struts dynavalidator form and have specified a property as HashMap. I am using this hashmap to display & retrieve checkbox values. Now to display the check boxes, I am using JSTL for loop and dynamically retrieve hashmap values. I am not being able to get the value when I create a dynamic key for the map. Check out the code below.



I am not able to retrieve the value for the checkbox at line no. 13 & 14. I would appreciate any kind of help.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66143
141
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please be sure to post Struts questions in the Struts forum. I have moved this post there for you.
 
Hiren Pathak
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
sorry for the wrong placement.. actually it was more related towards JSTL so thought of putting it under JSP.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!