How can i set a blank form for create mode having a save and cancel buttons, a data populated form in the edit mode having an update and cancel buttons and again data populated form in the delete mode having an delete and cancel buttons.
I want to achieve this using a single class which extends from MultiActionController and If I use a single MultiActionController class where do I call setBindOnNewForm(true). I cannot call it (setBindOnNewForm(true)) if I am going for a new entry.
I am speaking something related to Struts DispatchAction Class. In the petstore application there are seperate classes for Save and Edit Operations and I dont want to follow that model.