This week's giveaway is in the EJB and other Java EE Technologies forum. We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line! See this thread for details.
i am having a problem with logic:iterate tag in Struts. Actually i want to have a button in each row that is created by the iterate tag so that when someone clicks the button he can update that particular row. For this i need the index of the row that has been clicked. i have a arraylist in session scope which has the rows from the database in the form of DO's.
i read somewhere that i need to keep a String and a int fields in the form bean and have a function like getIndex() but that too is not workin...it is always returning 0.
i dont know what is wrong. If hope u got my point.