deepa karra wrote:I am retreiving data from the database into a jsp page using struts and hibernate. I want to edit the data on clicking an edit button. How do i create a new row of the retreived record along with the data for editing ?
Make all the html elements read only in jsp initially, when you click on edit button just make them editable. Make sure you are using saveOrupdate method while persistence data at session.