Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
Win a copy of
Arduino in Action
this week in the
General Computing
forum!
A special promo:
Enter your blog post or vote on a blogger to be featured in an upcoming Journal
JavaRanch
»
Java Forums
»
Frameworks
»
Struts
Author
How to find Index of an ArrayList in struts 2
Abdul Mujeeb Md
Greenhorn
Joined: Aug 25, 2008
Posts: 26
posted
Sep 14, 2009 22:08:57
0
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
posted
Sep 15, 2009 02:43:13
0
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
list.get(int);
Abdul Mujeeb Md
Greenhorn
Joined: Aug 25, 2008
Posts: 26
posted
Sep 15, 2009 02:46:49
0
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:
<s:iterator var="arlConsigneeInfo" value="alUltimateConsignee" status="row"> <s:property value="%{#row.index}"/> </s:iterator>
Thanks.
I agree. Here's the link:
http://ej-technologies/jprofiler
- if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
subject: How to find Index of an ArrayList in struts 2
Similar Threads
Sorting it out
how to use javascript value in java
Random Queue
Remove a char from ArrayList
IndexOutOfBoundsException on out of order ArrayList.add()
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter