Results 1 to 2 of 2
- 02-26-2012, 06:40 AM #1
Member
- Join Date
- Feb 2012
- Posts
- 1
- Rep Power
- 0
Old Form Bean data VS New Form Bean Data
In my application we use Struts 1.2, Hibernate 3 , Struts Form bean is used for populating and displaying data to the JSP to and fro.
The application has a Feature which is editing of record retrieved from a database. So when a user clicks the edit button on a JSP page a database query is made and data is populated in a formBean and displayed onto to the JSP.
So suppose a user edits some data in the form which has about 30 fields And then Submits how would I get to know the difference in old form bean object and the new edited form bean object??
As the user can edit any field it might 1 field or 20 fields. How would I come to know which field is edited in the form??
Please can somebody give me idea??
- 02-27-2012, 11:12 AM #2
Moderator
- Join Date
- Apr 2009
- Posts
- 10,481
- Rep Power
- 16
Similar Threads
-
Data wouldnt't read from my form called 'express' in form'ticketing'
By realmadrid_000 in forum AWT / SwingReplies: 8Last Post: 10-03-2010, 09:45 AM -
Dynamic fields in form using Form Bean
By janu.c in forum Java SoftwareReplies: 1Last Post: 09-23-2009, 04:26 AM -
want to generate a html form page with dynamic data and submit this form to a url
By vishalkrsrivastava in forum Java AppletsReplies: 10Last Post: 08-12-2009, 04:02 PM -
enctype=multipart/form-data with form data in struts
By vk_satheesh in forum New To JavaReplies: 0Last Post: 09-19-2008, 12:48 PM -
Struts Form Bean with property
By Java Tip in forum Java TipReplies: 0Last Post: 12-27-2007, 10:10 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks