Question
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Pegasystems Limited
Pegasystems Limited
US
Pegasystems Limited
Posted: Nov 2, 2018
Last activity: Dec 21, 2018
Last activity: 21 Dec 2018 18:15 EST
Closed
Compare two element value in a loop (JSP)
Hello
I need to get the value of the previous element in the “foreach” loop and compare it with the current element. Please help solve this problem.