This week's book giveaway is in the Mac OS forum. We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line! See this thread for details.
I am new to struts. I am facing the following problem. I am trying to add and edit some items from the same jsp page. but the problem is whenever I am editing an item and after that I am trying to add something, insead of adding the new item it is updating the item I edited previously. It seems my ActionForm is holding the previous bean object. I have set the scope to request. I am using DispatchAction. Following is the excerpt from struts-config.xml fo rdisplay of the add/edit page:
Following is the code from struts-config.xml for submitting the add/edit form:
Following is the excerpt from action class :
Plaese send me any suggestion you may have. I am really lost. Thanks in advance.