wood burning stoves 2.0*
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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Form bean query" Watch "Form bean query" New topic
Author

Form bean query

zaxxon25
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: http://aspose.com/file-tools
 
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