• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Passing arraylist as hidden variable in JSP Struts2 framework

 
Jyoti Aggarwal
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI
I am facing problem while I am terating list of list in jsp. i am able to get the value from action class to jsp and displayed properly. but I need to modify those value on the screen and take it to second screen. I am facing when i am passing arraylist as hidden variable.

There are 2 class. one A1 class is having getter setter of emplyee and address.
another class A2 is having getter setter of list of first A1 class.

First iterator is of A2 class and inside that iterator of A1 class.

Its really urgent.
 
Mohana Rao Sv
Ranch Hand
Posts: 485
Eclipse IDE Firefox Browser Linux
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please post your code, it can be helpful to resolve your issue.
 
Jyoti Aggarwal
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


Please find the attached code. I am able to get data from Action class and put it on JSP but will taking changed data from the current screen to next screen it is creating problem.

I am getting problem at "<s:hidden name="pointListVOList[%{#swapPointProfile.tcMBankSwapPointCustomVOListRight}]"></s:hidden>" and "<s:hidden name="pointListVOList[%{#swapPointProfile.tcMBankSwapPointCustomVOListLeft}]"></s:hidden>". Rest everything is working fine.
 
Jyoti Aggarwal
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please reply.
 
Jyoti Aggarwal
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic