This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
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


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to find Index of an ArrayList in struts 2