This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JSP and the fly likes Form bean query Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Form bean query" Watch "Form bean query" New topic

Form bean query

Ranch Hand

Joined: Feb 26, 2005
Posts: 35
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....
I agree. Here's the link:
subject: Form bean query
Similar Threads
Assigning a java variable a value from struts tag
How to generate a jsp page with form in struts where input values are pre-generated?
Getting html form name
javabeans and checkboxes
Backing Bean query