Error : java.util.ConcurrentModificationException

后端 未结 3 1819
情歌与酒
情歌与酒 2020-12-22 06:34

i have a grid from where users select the row , when a row is clicked then its id is sending to my action class AddBookToSession.java and after wards it is retu

3条回答
  •  情歌与酒
    2020-12-22 07:28

    The exception stack trace points to the s:iterator in your jsp being the place where the exception is thrown. That means that while that element goes through the book list another piece of code adds or removes from the list. That could be your Java code, or some other (e.g. RemovebooksFromSession).

    Take a look at your code and try to determine if it is possible that other code runs while your jsp page is being build.

    Cannot help you more with the code you posted.

提交回复
热议问题