Hi, I have the same problem, you can look at my message of November 30. However see below the bug I posted:
"my web app have an action to delete one row in a MS Access table (access though sun.jdbc.odbc.JdbcOdbcDriver). The method return the number of rows deleted. The first time it's executed, it return the right number of deleted rows: 1. The action after reading the method result, it return SUCCESS, but rather to call the result page (jsp page), the controller, with no reason, call once again, the same method. This time, of course, it return 0 because the row is already deleted and the action return ERROR. Finally, even if the delete operation execute succesfully, the web app display the error message. I have other action with methods that insert and update rows and they work fine! All methods have the same program logic except for the sql statement (INSERT, UPDATE, DELETE, ...)" I thought was a bug of my application, but now i'm thinking it's a bug of struts 2 framework. I hope will be fix very soon. Regards Andrea xniit2003 wrote: > > Hi, > > I am new in struts2. > In my action class I declared some global fields and one execute > method.This class extends another class, which extends Actionsupport > class. Now my execute method is getting processed twice. > From this execute method, execution goes to some other method, which also > getting processed twice. > > Can anyone faced similar situation. > > Thanks > -- View this message in context: http://www.nabble.com/my-execute-method-of-action-class-is-getting-executed-twice-tf4927568.html#a14151247 Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]