Sorry to be late here, but i need an immediate help. I am new to struts and recently put into a struts project.
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.
"Immediate" help is unlikely, as this is a forum that people read at their leisure.
It's also a completely useless subject line: see here.
Without the use of code tags code is very difficult to read--particularly when there's that much of it. I'll try to read it, but I'm also suspicious that this much code was necessary to communicate the problem.
Actually i need get data from database to my jsp page that will be displayed in a form - tabular form. I have created the view and the first field with <select>
is working fine, similarly i need data for other fields.
Later, i need to do some operations on the jsp page like 'save', 'add field', 'delete', 'cancel'.
As you look into the jsp page every last column in the table is having an in image to delete the row with the data from the database. i am not sure how to do this...
i need to send data back to my ActionServlet in an arraylist.