when i try to sava my data after editing, the action is calling twice from that JSP where i am giving that data.so, we are getting duplicate values in the database. pls give me the solution for this.
Are you using a Image or gif file when you submit data? As well struts has a token mechanism that you can use to avoid duplicate submits. Check this URL out.
Are you using JavaScript to do the submit? If so, make sure you do not call a JavaScript submit from an <html:submit> tag. Something like the following will cause a double submit: <html:submit property="save" value="save" onklick="document.myform.submit();" />