Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

EL

 
Nikhil Jain
Ranch Hand
Posts: 392
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello ranchers,

If I want to iterate over all the request parameters of a form thru EL, what will be the code. Is it possible. We can do the same easiliy with the help of scripting ...

in scripting we have methods like request.getParameterNames for solving the above problem.

Secondly say if we need to iterate a simple loop using jstl, how are we going to achieve it, For example say I want to iterate a loop uptil count of 10....
 
Shivani Chandna
Ranch Hand
Posts: 380
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You have paramValues and param implicit EL objects. Use them in for loop.





To iterate a loop uptil count of 10....



Regards,
Shivani
[ September 03, 2006: Message edited by: Shivani Chandna ]
 
Nikhil Jain
Ranch Hand
Posts: 392
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks....
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic