struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mileidys González Prieto <mileid...@yahoo.com>
Subject Re: how to add multiple addon rows in struts..urgert please
Date Tue, 13 Oct 2009 13:02:02 GMT
You need to declare ur variable like an array of string, numbers...

ArrayList<String> mobiles

and then in ur jsp code u just need to create differents input all of them with the same name
"mobiles"

dont forget the get and set for the property...




________________________________
De: swathi reddy <swathi23.reddy@gmail.com>
Para: user@struts.apache.org
Enviado: mar, octubre 13, 2009 9:50:01 AM
Asunto: how to add multiple addon rows in struts..urgert please

Hi all

please let me know how we can add multiple rows like he want to add multiple
Mobile numbers in the jsp page when he want to submit in struts.

page has a filed mobile no. to enetre then beside add another Mobile no. and
edit the No.

please replay quickly...




-- 
Thanks& Regards

Swathi



      ____________________________________________________________________________________
¡Obtén la mejor experiencia en la web!
Descarga gratis el nuevo Internet Explorer 8. 
http://downloads.yahoo.com/ieak8/?l=e1
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message