Dear All,

  I'm having following requirement and can you please let me know how to do 
this using struts2.

  Say EmployeeAction having EmpBean (getter & setter)

  EmpBean:

     private long emp_id;
     private String first_name;
     private String last_name;
     private String class_name;


In user interface(UI), I have 2 text fields for entering first_name and 
last_name.. when user enters this information and selecting 'Add' button it 
will display one row in same page like below

    First Name     Last Name      
     Mike              Rojer               Remove
     Smith            Gates              Remove

   After entering multiple entries user will submit the page. 

  I'm using jQuery, how to add multiple rows dynamically pressing 'Add' button 
and how to populate these beans in backend EmployeeAction...

   Can anyone please let me know how to solve this problem using Struts2 + 
jQuery.

Thanks for your help.

Regards,
Sharath.

 

   
    



      

Reply via email to