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.
What I am trying to acheive is when I change anything on the "notes" property, I am not able to see the changed value in the action when I submit. Previously I used to get a null pointer exception so I have made the scope session. This solves the exception but that does not show the changed value of the notes.
If you put a code like
(see I have changed the name to actionform in the above snippet) it will work fine, because the "notes" property will be in the form. But if you put a bean inside a form and then try to change it, when you submit I am not able to store the changed property of the bean in the form.
What I mean is after submitting, in the action class:
The value printed shows the previous values of the property "notes" not the updated values from the jsp. So I have to store the changed value of the bean in the form.
Please help and thanks for your time.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com