struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Amol Ghotankar <>
Subject set a list from getmodel()
Date Thu, 01 Jul 2010 07:33:32 GMT
Dear List memeber,

I have a urgent requirement in which I will have  to populate a list or set
and this set / list will be getModel() for an struts action.

How to write jsp code so that the set is populated directly here.

Like say I have a list of address and from form

address 1
address 2
address 3

is submitted

and it goes directly into set which is part of user.addres

user object is having set of address.

What should be done on jsp so that when action is called this set is
automatically populated.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message