You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Fernandes Celinio <cf...@sopragroup.com> on 2009/05/19 11:22:11 UTC

[S2 2.0.14] how to save the old and new values of the fields of a form

Hi,
In struts 2, what are the different ways to keep the previous values of
the fields of a form which
is being modified (with new values) ?

I would like to save in the database the NEW (after modification) and
the OLD (before modification) values of the fields of the form.
Let's say I have 3 columns "FIELD_NAME",  "OLD_VALUE", "NEW_VALUE" in a
table "LOGS".

Is there an interceptor that takes care of this kind of thing for
instance ?

Thanks for helping.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org