aspose file tools*
The moose likes Struts and the fly likes How to find Index of an ArrayList in struts 2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "How to find Index of an ArrayList in struts 2" Watch "How to find Index of an ArrayList in struts 2" New topic
Author

How to find Index of an ArrayList in struts 2

Abdul Mujeeb Md
Greenhorn

Joined: Aug 25, 2008
Posts: 26
Hi,

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

Thanks.
Ranveer K Kumar
Ranch Hand

Joined: Sep 13, 2009
Posts: 64


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

Joined: Aug 25, 2008
Posts: 26
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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to find Index of an ArrayList in struts 2