Kaushal, I don't have time to read all the source you posted, but here's my answers to your direct questions:
First : I need to populate the values from database to this jsp page during the opening of this page >> You need to have an action mapping for this. Something like /loadmydata.do Second : how can I add row to this table dynamically so that I can enter a few records and save the data to the database. >> You can use JSP <c:forEach> to loop over a list of an array, and produce new >> <tr> and <td> elements. Third : When I save the records the values must go to ActionServlet, where I need them all in an ArrayList. >> You need a second action mapping for this. Remember this pattern: Use one >> action for loading data, another action for saving the data. Paul On Sun, Oct 4, 2009 at 6:40 AM, kaushal.sharma <kaushalksharma.mt...@gmail.com> wrote: > > Hi, > > Sorry to be late here, but i need an immediate help. I am new to struts and > recently put into a struts project. > > FYI > > I have a jsp file, where I am getting values from SQL SERVER 2000 database > using an Action Class and A Form Bean. > This jsp view is as a tabular format, where data is populated. > Selectbox text checkbox checkbox text > text cancel_image > > This page having operations like cancel_row / save_table / add_row > > First : I need to populate the values from database to this jsp page > during the opening of this page > Second : how can I add row to this table dynamically so that I can enter a > few records and save the data to the database. > Third : When I save the records the values must go to ActionServlet, where > I need them all in an ArrayList. > > Kindly see the code below. > > -Thanks & Regards, > > > // JSP --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org