• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to find Index of an ArrayList in struts 2

 
Abdul Mujeeb Md
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

How to get the index of an ArrayList and pass it to some javascript method?

Thanks.
 
Ranveer K Kumar
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


How to get the index of an ArrayList and pass it to some javascript method?


More detail is expected in your query...
or
is this your mean



 
Abdul Mujeeb Md
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ranveer,

I wanted to retirieve the index of the arrayList using Struts 2, which i have written in the Subject of this mail.

However the code goes this way:


Thanks.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic