I am having a screen in which all values being dislayed are stored in
java bean.
i have to code particular functionality under which whenever a person cliks OK button at end of screen a call needs to be made to server to compare current values on screen with stored value in beans. If values are different an alert is sent to user informing him that values have changed. If he opts yes then new values are retained and old values lost.
The new values will also be stored in same bean. Can any one using some sample code explain me how this can be done .....
In summary how can i use my form bean's same field to store different values on each form submission and also retain old values for comparision purpose....