This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Hello This is a problem I am having w/ struts. I have a page, results_list1.jsp that has an href that calls, add1.jsp. Add1.jsp is the view for the data fields of the object. Add1.jsp has a submit that calls Add1Action. I have an Add1Form w/ Reset method, that is the configured form bean for the Add1Action in the struts-config.xml. The problem is if I attempt to make a second entry off results_list1.jsp with the add1.jsp, the old values are still there. The first time through should not the Add1Form bean have reset the values so the second time add1.jsp comes up they are all blank or their default from the Reset method? How do I make either add1.jsp, Add1Action or Add1Form, clear the values after completion so the second + invocation of add1.jsp is blank on all fields and ready for new input? Sorry for the loquaciousness.