This week's book giveaways are in the Refactoring and Agile forums. We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line! See this thread and this one for details.
Difficulty in re- rendering form data, eventhough no exception is thrown up
posted 8 years ago
Dear dudes, I'm facing a problem in displaying or re-rendering my form data which i sent to the controller , whose values are set to my formbean and sent to the action class. My request page : submit.jsp form bean : SubmitForm.java Action class: SubmitAction.java
View page: "submit.jsp"
My form bean:"SubmitForm.java"
My action class: SubmitAction.java
Once when my struts-config.xml is loaded from my web.xml , the formbean is initialized and the 'lastname' value is initially set as Hansen, which i got when i run my application. Once when i render data for other controls in my form and submit i'm not getting any data, server console is devoid of any errors and the log file ( localhost ) is showing:
Why the form is not being re-rendered again eventhough i've mapped it in my struts-config file. Any help in this regard will be appreciated.